TWI266984B - Multi-mode testing system with multiple exclusive conditions and method thereof - Google Patents

Multi-mode testing system with multiple exclusive conditions and method thereof Download PDF

Info

Publication number
TWI266984B
TWI266984B TW93109950A TW93109950A TWI266984B TW I266984 B TWI266984 B TW I266984B TW 93109950 A TW93109950 A TW 93109950A TW 93109950 A TW93109950 A TW 93109950A TW I266984 B TWI266984 B TW I266984B
Authority
TW
Taiwan
Prior art keywords
test
mode
queue
test item
item
Prior art date
Application number
TW93109950A
Other languages
Chinese (zh)
Other versions
TW200534085A (en
Inventor
Win-Harn Liu
Jeff Song
Jian Wu
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 TW93109950A priority Critical patent/TWI266984B/en
Publication of TW200534085A publication Critical patent/TW200534085A/en
Application granted granted Critical
Publication of TWI266984B publication Critical patent/TWI266984B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a multi-mode testing system with multiple exclusive conditions and a method thereof. The invented method comprises steps of: identifying a test item; identifying a test mode based on the test item; creating a waiting queue, a temporary waiting queue, and an operation queue; storing the test item in the waiting queue, and retrieving the test item from the waiting queue and the temporary waiting queue; using an exclusive determination module to apply an exclusive condition, storing the test item in the operation queue if the test item is determined to be a currently allowed test item, and storing the test item in the temporary waiting queue if the test item is determined to be a currently conflicting test item; and lastly conducting a test on the test item stored in the operation queue based on the test mode.

Description

1266984 五、發明說明(1) 【發明所屬之技術領域】 本發明係為一種電腦硬體測試方法,特別係指一種多 種互斥條件下之多模式測試系統及其方法。 【先前技術】 電腦硬體測試的過程中,由於不同的硬體具有不同的 特性,因此對每個硬體測試的線程之間的互斥要求也就不 盡相同。有些測試項要求用戶參與測試(例如要求用戶敲 擊鍵盤、滑鼠等),用戶在同一時間只能處理一個這樣的 測試項,所以這樣的測試項之間必須一個一個的互斥進 行。有些測試項雖然針對的不是同一硬體設備,但它們用 φ 到了同一個設備為其提供服務,如Μ 〇 v i e,A u d i 〇,由於都 要使用音效卡,因此不能同時進行測試。還有些測試項在 測試過程中,不允許同一設備上的其他所有測試項運行, 如L P T,C Ο Μ等串列的介面,多個測試項必須串列測試才可 以。還有些測試項在測試過程中,不允許其他所有測試項 同時運行,這一測試項必須獨佔CPU進行測試,不允許有 一點干擾。另外一些測試項沒有任何特殊的要求,只要與 其他測試不衝突就可以進行測試了。 實際上在電腦硬體測試過程中,一些測試項並不是單 單要求上面的一條就可以了,有些測試項既要求設備互 斥,又要求用戶在測試過程中交互進行測試等。這樣測試 項線程之間的調度就會比較複雜。如何控制測試線程,使 它們之間不衝突,同時又能更好的測試出電腦的性能,是 當前測試方法的重要發展方向。1266984 V. INSTRUCTION DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a computer hardware testing method, and more particularly to a multi-mode testing system and a method thereof under various mutually exclusive conditions. [Prior Art] In the process of computer hardware testing, since different hardware has different characteristics, the mutual exclusion requirements between threads for each hardware test are also different. Some test items require the user to participate in the test (for example, asking the user to hit the keyboard, mouse, etc.), and the user can only process one such test item at a time, so such test items must be mutually exclusive. Some test items are not the same hardware device, but they use φ to provide services to the same device, such as Μ 〇 v i e, A u d i 〇, because the sound card is used, it cannot be tested at the same time. There are also some test items that do not allow all other test items on the same device to run during the test. For example, L P T, C Ο Μ and other serial interfaces, multiple test items must be tested in series. There are also some test items that do not allow all other test items to run at the same time during the test. This test item must be tested by the CPU alone, and no interference is allowed. Other test items do not have any special requirements, as long as they do not conflict with other tests. In fact, in the process of computer hardware testing, some test items do not require the above one. Some test items require both devices to be mutually exclusive, and users are required to test each other interactively during the test. This makes the scheduling between test items threads more complicated. How to control the test threads so that they do not conflict with each other, and at the same time better test the performance of the computer, is an important development direction of the current test method.

第5頁 1266984 五、發明說明(2) 習知的測試方法 間的關係就簡化了。 為交互的與非交互的 種情況。經過分類後 是實際情況下,電腦 作,它有可能同時處 多操作。這樣測試線 它存在測試時間上的 及準確度等都不是很 【發明内容】 有鑒於此,本發 互斥條件下之多模式 根據測試項之多種互 而保證了對硬體以及 所以為達上述目 之多模式測試系統, 括一等待佇列,以及 用戶所選之測試項, 項;一模式確定模組 •測試模組,其更包 運行佇列中的測試項 該測試模式以及用戶 試模組之測試迴圈次 等待佇列以及該臨時 只是 有些 ,需 雖然 並不 理幾 程調 花費 理想 順序 測試 要互 線程 是這 個不 度實 比較 明乃為解 測試系統 斥測試要 電腦整體 的,本發 包括:一 一臨時等 臨時等待 ,其用以 括一運行 的進行測試,這樣測試項之 程式將測試項進行分類,分 斥的以及不需要互斥的等幾 調度的複雜度有所降低,但 么純粹的處理一系列的操 同設備的交互和非交互的很 現的方法雖然比較簡單,但 多的問題,因此整體性能以 決上 及其 求進 性能 明提 等待 待佇 佇列 接收 佇列 進行測試;一 之設定,開啟 數;以及一互 等待佇列之測 述問 方法 行多 的測 供一 模組 列: 用以 用戶 ,該 變數 相應 斥判 試項 題而 ,主 種模 試準 種多 ,該 等待 臨時 輸入 測試 控制 之變 斷模 ,並 提出 要的 式的 確性 種互 等待 佇列 存儲 之測 模組 模組 數, 組, 判斷 一種多種 目的在於 測試,從 斥條 模組 用以 衝突 試模 用以 ,其 控制 其提 其互 件下 更包 接收 測試 式; 對該 根據 該測 取該 斥條Page 5 1266984 V. Description of the invention (2) The relationship between the conventional test methods is simplified. For interactive and non-interactive situations. After classification, it is actually done by the computer, and it is possible to operate at the same time. In this way, the test line has no test time and accuracy, etc. [Invention] In view of this, the multi-mode under the mutually exclusive condition of the present invention guarantees the hardware according to the various mutual test items, and therefore The multi-mode test system includes a waiting queue and a test item selected by the user, a mode determining module, a test module, and a test item in the running queue, the test mode and the user test mode. The test of the group is waiting for the queue and the temporary is only some. Although it is not reasonable to take a few steps, it is necessary to spend the ideal sequence. The test is to be mutually threaded. This is not a good idea. It is a solution to test the system to test the computer as a whole. The sending includes: temporary waiting, such as temporary, which is used to test the running of the test, so that the program of the test item classifies the test items, and the complexity of the repetitive and non-mutual scheduling is reduced. But purely dealing with a series of interactive devices and non-interactive methods are simple, but many problems, so the whole The performance of the body is tested by waiting for the queue and the performance of the queue; the setting is set, the number is turned on; and the test method of waiting for the queue is more than one module. : for the user, the variable corresponding to the test item, the main model test quasi species, the waiting for temporary input test control of the mode, and proposed the type of authentic species waiting for the storage module The number of modules, the group, the judgment of a plurality of purposes is to test, and the snippet module is used for the conflict test mode, and the control splicing module is used to receive the test pattern under the component, and the repulsion is determined according to the measurement.

第6頁 1266984 五 發明說明(3) 突 測試項存儲ii測試項存儲至該運行t 另外時等待仔列中等待調用列’將該衝 法 後 試 中 該 ,首Lir所提之多種互斥條件下:: 創建ΐ。;式項,並根據該測試項確C式測試方 =寺待仔列、臨時等待佇弋领試模式,然 至該等待仔列中,從該等待件::列,並將該測 試項’則將其存儲至 當前允許測 測試項,則將豆在M 丁列中,右測试項為當前衝突 試模式對運行;宁列中的m等待佇列中,最後根據該測 』〒的測试項進行測試。 測試方r月戶:ί互斥條件下之多模式測試系統及其 足用戶入f A Μ + # 寺兼顧了夕種測试調度模式,能滿 =全方面的需I’其不但可以用於單項測 口:二更力還;:進行整體測試,多種 況。 丁、、、σ果更加精確的反映了實際的情 <1 下:有關本發明之詳細内容及技術,茲就配合圖式說明如 實施方式】 其方i發::::;;種互中斥严件下之多模式測試系統及 本發明所提之系統之模V二V,本如發::系統"該圖係 、、且木稱圖,如圖所不,等待模組 第7頁 1266984 五、發明說明(4) i1 ί ΐ佇列111以及臨時等待佇列11 3 ’互斥判斷模 莖I%、專待模組Π0以及模式確定模組12〇相連,其判斷 ^莫、、且1 1 〇中測試項的互斥條件,根據判斷結果將允許 測=放^測試模組130進行測試,否則將衝突測試項放 入=L等待仵列112中等待調用。變數控制模組14 0根據用 戶汉疋的控制變數控制測試模組1 3 〇中測試項的測試迴圈 次數,從而可根據測試項之多種互斥測試 式的測試。各模組之詳細說明如下: —(U等待模組11 〇,包括等待佇列111以及臨時等待 =列j 1 2 ’其中等待佇列i丨丨,其接收用戶所選之測試項; 臨時等待佇列11 2,用以臨時存儲衝突測試項。 2)模式確定模組1 2 〇,用以接收用戶輸入之測試模 式’用戶根據選中之測試項選擇相應之測試模式,測試模 式包括迴圈串列模式(Loop Sequential Mode)、迴圈並 行模式(Loop parai iei Mode)、時間串列模式(Time Sequential Mode)、時間並行模式(Time Parallel Mode)、及迴圈並行擴展模式(L〇〇p Parallel Extendable)。其中迴圈串列模式若迴圈次數為一次,則 為普通串列模式(Common Sequential Mode);迴圈並行 模式右迴圈次數為一次則為普通並行模式(CommonPage 6 1266984 5 invention description (3) sudden test item storage ii test item stored to the run t in addition to waiting in the queue to wait for the call column 'after the test, the first Lir proposed a variety of mutually exclusive conditions Next:: Create ΐ. ; formula, and according to the test item, the C test type = temple waiting list, temporary waiting for the trial mode, but then the waiting column, from the waiting piece:: column, and the test item ' Then store it to the current allowable test item, then the bean is in the M column, the right test item is the current conflict test mode pair operation; the m wait column in the Ning column, and finally according to the test The test is tested. The test party r month: ί under the mutually exclusive condition of the multi-mode test system and its full user into f A Μ + # 寺 takes care of the evening test scheduling mode, can be full = all aspects of the need I' can not only be used Single test port: two more force;; conduct overall test, a variety of conditions. Ding,,, σ fruit more accurately reflects the actual situation <1: The details and technology of the present invention, as shown in the accompanying drawings, as shown in the embodiment, the other side::::;; The multi-mode test system under the strict rigor and the model V 2 V of the system proposed by the present invention is as follows: the system " the system, and the wood scale diagram, as shown in the figure, waiting for the module 7 pages 1266984 5, invention description (4) i1 ί ΐ伫 111 and temporary waiting queue 11 3 'mutual exclusion judgment mold stem I%, special module Π 0 and mode determination module 12 〇 connected, its judgment ^ Mo And the mutually exclusive condition of the test item in 1 1 , according to the judgment result, the test module 130 is allowed to test, otherwise the conflict test item is placed in the =L waiting queue 112 to be called. The variable control module 14 0 controls the number of test loops of the test items in the test module 1 3 according to the control variables of the user, so that the test can be tested according to various mutually exclusive test types of the test items. The detailed description of each module is as follows: - (U waits for the module 11 〇, including the waiting queue 111 and the temporary waiting = column j 1 2 ' where the waiting queue i 丨丨 receives the test item selected by the user; The queue 11 2 is used to temporarily store the conflict test item. 2) The mode determination module 1 2 〇 is used to receive the test mode input by the user. The user selects the corresponding test mode according to the selected test item, and the test mode includes the loop. Loop Sequential Mode, Loop Parai Ii Mode, Time Sequential Mode, Time Parallel Mode, and Loop Parallel Extended Mode (L〇〇p Parallel Extendable). In the loop loop mode, if the number of loops is once, it is the common serial mode (Common Sequential Mode); the loop parallel mode is the normal loop mode when the number of right loops is once (Common)

Parallel Mode) 〇 如果是 Loop Sequential Mode (包括 Common Sequential Mode ),由一個變數 l〇〇pcount 控制,當每 次運行完一次時,loopcount增加一,當到達用戶設定的Parallel Mode) 〇 If it is a Loop Sequential Mode (including Common Sequential Mode), it is controlled by a variable l〇〇pcount. When each run is completed, loopcount is incremented by one when it reaches the user setting.

第8頁 1266984 五、發明說明(5) 次數時,運行結束,清空等待仔列、運行仔列、交互等;^寺 仵列。如果是 Loop Parallel Mode (包括 Common Parallel Mode)、 Loop Parallel Extendable’ 則等待$ 慢的一個測試線程運行用戶設定的次數之後,結束。如$ 是Time Sequential Mode,則開啟一個定時器Timer,以 串列方式調度測試線程,當到達用戶設定的時間後,運行 終止,清空等待佇列、運行佇列、交互等待佇列。如果是 Time Parallel Mode,則開啟一個Timer,以並行方式調 度測試線程,當到達用戶設定的時間後,運行終止,清空 等待彳宁列、運行作列、交互等待行列。Page 8 1266984 V. Invention Description (5) When the number of times, the operation ends, clear the waiting queue, run the train, interact, etc.; ^ Temple queue. If it is Loop Parallel Mode (including Common Parallel Mode), Loop Parallel Extendable', then wait for a slow test thread to run the user set number of times, and then end. For example, if Time is a Time Sequential Mode, a timer is started to schedule the test thread in a serial manner. When the time set by the user is reached, the operation is terminated, and the waiting queue, the running queue, and the interactive waiting queue are cleared. In the case of Time Parallel Mode, a Timer is started, and the test thread is scheduled in parallel. When the time set by the user is reached, the operation is terminated, and the waiting queue, the running column, and the interactive waiting queue are cleared.

(3) 測試模組1 3 0,其更包括一運行佇列1 3 1,該測 試模組用以對該運行佇列中的測試項進行測試。當用戶選 擇中途停止測試時,給每個運行的線程發送消息,運行終 止’清空等待佇列、運行佇列、交互等待佇列。 (4) 變數控制模組1 4 〇,其根據該測試模式以及用戶 之設定,開啟相應之變數,控制該測試模組之測試迴圈次 數;及 Ο λ ( 5)互斥判斷模組1 50,其提取該等待佇列以及該臨 ,等待佇列之測試項,並判斷其互斥條件,將互斥條件允 許之測試項存儲至該運行佇列,將該衝突測 =等待謝等待調用。,中互斥條件是根據測= ”互斥資訊’互斥條件共有三,,分別為無任何=返 ^lusive With N〇ne)、設備級衝突(Exclusive it Device)、獨佔(Exclusive With A11)以及交互(3) The test module 130, which further includes a running queue 1 3 1, the test module is used to test the test items in the running queue. When the user chooses to stop the test midway, a message is sent to each running thread, and the run ends to 'clear the wait queue, run the queue, and wait for the queue. (4) The variable control module 1 4 〇, according to the test mode and the setting of the user, turns on the corresponding variable to control the number of test loops of the test module; and Ο λ ( 5) mutual exclusion judgment module 1 50 And extracting the waiting queue and the Pro, waiting for the test item of the queue, and determining the mutually exclusive condition, storing the test item allowed by the mutually exclusive condition to the running queue, and the conflicting test = waiting for the call. The mutually exclusive condition is based on the test = "mutually exclusive information" mutually exclusive conditions are three, respectively, no = return (lusense With N〇ne), device-level conflict (Exclusive it Device), exclusive (Exclusive With A11) And interaction

第9頁 1266984 五、發明說明(6) 測試。同時測試項還要返回交互情況的資訊 Islnteractive的值 。 不同的互斥條件對應不同的優先順序,E X c 1 u s i v e W 1 th A 1 1的測試項,不能與其他測試項一起運行,故優 先順序最高;交互的測試項,同一時間只能運行一個這樣 的測試項,它的優先順序其次;由於Exciusive With Dev 1 ce的測試項,一個設備只能運行一個測試項,它優 先順序為第三;Exclusive With None的優先順序最低。 該互斥判斷模組1 5 〇從等待佇列n丨中取出一個測試 項’如果測試項是Exclusive With A1 1,那麼它只能單獨 運行’只有當運行佇列中沒有運行的測試項時,這個測試 項才能被調度起來,同時進入等待狀態,直到該測試項運 行完畢’系統重新恢復為運行狀態,否則,這個測試項仍 在#待彳宁列111中。如果IsInteractiv e的測試項,則先判 斷運行佇列131中有沒有Islnteractive的運行的測試項, 然後判斷它的設備級的互斥條件,決定它是否可以運行; 如果測試項是Exclusive With Device,要對運行仔列131 進行判斷,如果沒有同設備的運行的測試項,才能開啟線 程運行這個測試項;如果運行著的測試線程,達到了最大 線程數,則進入等待狀態,直到有測試線程運行完畢為 止。 接著,透過「第2圖」來說明本發明的流程,該圖係 本發明所提之多種互斥條件下之多模式測試方法之運作流 程圖,首先確定測試項,並根據該測試項確定測試模式Page 9 1266984 V. Description of the invention (6) Testing. At the same time, the test item also returns the information of the interaction situation Islnteractive value. Different mutually exclusive conditions correspond to different priority orders. The test items of EX c 1 usive W 1 th A 1 1 cannot be run together with other test items, so the priority order is the highest; the interactive test items can only run one at the same time. The test item, its priority is second; due to the Exciusive With Dev 1 ce test item, a device can only run one test item, its priority order is third; Exclusive With None has the lowest priority. The mutual exclusion judging module 1 取出 fetches a test item from the waiting queue n 如果 'If the test item is Exclusive With A1 1, then it can only be run separately' only when the test item is not running in the running queue. This test item can be scheduled and enter the wait state until the test item runs. 'The system is restored to the running state. Otherwise, this test item is still in the #待彳宁 111. If the IsInteractiv e test item, first determine whether there is a running test item in the running queue 131 with Islnteractive, and then determine its device level mutual exclusion condition to determine whether it can run; if the test item is Exclusive With Device, Judging the running queue 131, if there is no running test item of the same device, the thread can be started to run the test item; if the running test thread reaches the maximum number of threads, the waiting state is entered until the test thread finishes running. until. Next, the flow of the present invention will be described through "FIG. 2", which is a flowchart of the operation of the multi-mode test method under various mutually exclusive conditions of the present invention, first determining a test item, and determining a test according to the test item. mode

第10頁 1266984 五、發明說明(7) (步驟210),測試模式包括迴圈串列模式(Loop Sequential Mode)、迴圈並行模式(Loop Parallel Mode)、時間串列模式(Time Sequential Mode)、時間 並行模式(Time Parallel Mode)、及迴圈並行擴展模式 (Loop Parallel Extendable) 〇 其中迴圈串列模式若迴圈次數為一次,則為普通串列 模式(Common Sequential Mode);迴圈並行模式若迴圈 次數為一次則為普通並行模式(Common Parallel Mode)。如果是 Loop Sequent i a 1 Mode (包括 Common Sequential Mode ),由一個變數 loopcount 控制,當每 次運行完一次時,1 ο o p c o u n t增加一,當到達用戶設定的 次數時,運行結束,清空等待佇列、運行佇列、交互等待 佇列。 如果是 Loop Parallel Mode (包括 Common Parallel Mode)、Loop Parallel Extendable,貝丨J 等待最慢的一個 測試線程,運行用戶設定的次數之後,結束運行;如果是 T i m e S e q u e n t i a 1 Μ 〇 d e ’開啟一個T i m e r,串列的調度測 試線程,當到達用戶設定的時間後,運行終止,清空等待 佇列、運行佇列、交互等待佇列;如果是Time Paral lei Mode,開啟一個T i m e r,並行調度測試線程,當到達用戶 設定的時間後,運行終止,清空等待仔列、運行仔列、交 互等待佇列。 然後創建等待佇列、臨時等待佇列以及運行仵列,並 將等待佇列以及運行佇列初始化,將該測試項存儲至該等Page 10 1266984 5, invention description (7) (step 210), the test mode includes Loop Sequential Mode, Loop Parallel Mode, Time Sequential Mode, Time Parallel Mode and Loop Parallel Extendable 〇 回 回 串 串 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回 回If the number of loops is one, it is the Common Parallel Mode. If it is Loop Sequent ia 1 Mode (including Common Sequential Mode), it is controlled by a variable loopcount. Whenever it runs once, 1 ο opcount is increased by one. When the number of times set by the user is reached, the operation ends and the waiting queue is cleared. Run queues, interactive wait queues. If it is Loop Parallel Mode (including Common Parallel Mode), Loop Parallel Extendable, Bellow J waits for the slowest test thread, runs the user set number of times, and ends the run; if it is T ime S equentia 1 Μ 〇de 'Open one T imer, the serialized scheduling test thread, when it reaches the time set by the user, the operation terminates, clears the waiting queue, runs the queue, and waits for the queue; if it is Time Paral lei Mode, starts a T imer, parallel scheduling test The thread, when it reaches the time set by the user, terminates the operation, clears the waiting queue, runs the queue, and waits for the queue. Then create a wait queue, a temporary wait queue, and a run queue, and initialize the wait queue and the run queue to store the test item in the class

第11頁 1266984Page 11 1266984

待佇列中(步驟22 0),再根據該測試項開啟控制變數 Timer或Itemcount ’控制測試項之測試迴圈次數。將控制 變數初始化,然後從該等待佇列以及臨時等待佇列中^取 測試項’同時判斷其互斥條件(步驟2 3 〇),其中互斥條 件是根據測試項返回的互斥資訊,共有三種/分別為無任 何衝突(Exclusive With None)、設備級衝突 (Exclusive With Device)、獨佔(Exclusive With A 1 1)以及交互測試。同時測試項還要返回交互情況的資 訊I sinter active的值。不同的互斥條件對應不同的優先 順序,Exclusive With All的測試項,不能與其他測試 項一起運行,故優先順序最高;交互的測試項,同一時間 只能運行一個這樣的測試項,它的優先順序其次;由於 Exclusive With Device的測試項,一個設備只能運行— 個測試項,它優先順序為第三;E X c 1 u s i v e W i t h Ν ο n e的 優先順序最低。根據該互斥條件將該當前測試項存儲至相 應之佇列(步驟24 0)(請參見「第3圖」),若測試項為 當前允許測試項,則開啟線程運行這個測試項,並將其存 儲至運行佇列中(步驟241);若測試項為當前衝突測試 項,則將其存儲至臨時等待佇列中(步驟242 )。 再根據該測試模式對運行彳宁列中的測試項進行測試 (步驟2 5 0)。如果測試項是E X c 1 u s i v e W i t h A 1 1,那麼 它只能單獨運行,只有當運行佇列中沒有其他正在運行的 測試項時,這個測試項才能被調度起來,同時進入等待狀 態,直到該測試項運行完畢,系統重新恢復為運行狀態,Wait for the queue (step 22 0), and then open the control variable Timer or Itemcount' to control the number of test loops of the test item according to the test item. Initialize the control variable, and then take the test item from the wait queue and the temporary wait queue to determine its mutually exclusive condition (step 2 3 〇), where the mutually exclusive condition is the mutual exclusion information returned according to the test item. Three/exclusive with Exclusive With None, Exclusive With Device, Exclusive With A 1 1 and interactive testing. At the same time, the test item also returns the value of the information I sinter active of the interaction. Different mutually exclusive conditions correspond to different priorities. Exclusive With All test items cannot be run together with other test items, so the priority order is the highest; interactive test items can only run one such test item at a time, and its priority is given. The order is second; due to the Exclusive With Device test item, a device can only run - test items, which has a third priority; EX c 1 usive W ith Ν ο ne has the lowest priority. The current test item is stored in the corresponding queue according to the mutually exclusive condition (step 240) (see "3"). If the test item is the currently allowed test item, the thread is started to run the test item, and It is stored in the run queue (step 241); if the test item is the current conflict test item, it is stored in the temporary wait queue (step 242). Then test the test items in the Runin column according to the test mode (step 2 50). If the test item is EX c 1 usive W ith A 1 1, then it can only be run separately. Only when there are no other running test items in the running queue, the test item can be scheduled and enter the waiting state until After the test item is finished running, the system is restored to the running state.

1266984 五、發明說明(9) 否則這個’則5式項仍在等待仔列中。如果I s I n t e r a c t i v e 的式項、則先判斷運行仔列中有沒有i s e r a c七丨v 6的 運行的測試項’然後判斷它的設備級的互斥條件,決定它 疋否可以^運行’如果测試項是Exciusive with Device, 要對運行彳宁列進行判斷,如果沒有同設備的運行的測試 項’才能開啟線程運行這個測試項;如果運行著的測試線 程,達到了最大線程數,同時進入等待狀態,直到有測試 線程運行完畢為止。 下面以迴圈串列模式為例對本發明進行詳細說明。 當則測減項為 Memory Walking 0,Memory Walking 1’ Memory March R(Excliusive with none),每個測試項 要求開啟2個線程進行測試,Keyboard,Mouse (Interat 1 ve) ’每個測試項要求開啟丨個線程進行測試, Video Color Purity,Video DAC Address,Video Mode’V1(ie〇 Direct(Interative),每個測試項要求開啟: 個線矛王’用戶選擇Loop Sequential Mod e進行測試,最大 線私數為9 9 9 9,要求運行10個Loop的情況下,調度如下: * ,用戶選擇的 Memory Walking 0 ’Memory Walking ] 等f试項’以及它們設定的線程數放入等待佇列中,等候 被系統’度’將Loopcount設為〇,準備測試。 從臨時等待佇列中取出一個測試項的一個線程,判斷 ,^ 上八 1 匕、、互斥條件,如果可以運行,將其線程數減一,當線程 f為〇時’將其從臨時等待佇列中刪除。如果臨時等待中 ’又有可以開啟的測試項線程,從等待佇列中取出一個測試1266984 V. Description of invention (9) Otherwise, the 'type 5' item is still waiting for the list. If I s I nteractive formula, first determine whether there is a running test item in the run column with iserrac 7 v 6 and then determine its device-level mutual exclusion condition, decide whether it can run ^ if The test item is Exciusive with Device. To judge the running Suining column, if there is no running test item of the same device, the thread can be started to run the test item; if the running test thread reaches the maximum number of threads, enter the wait at the same time. Status until a test thread has finished running. The present invention will be described in detail below by taking the loop train mode as an example. When the measurement and reduction items are Memory Walking 0, Memory Walking 1' Memory March R (Excliusive with none), each test item requires 2 threads to be tested, and Keyboard, Mouse (Interat 1 ve) 'each test item is required to be turned on.丨 Thread test, Video Color Purity, Video DAC Address, Video Mode 'V1 (ie 〇 Direct (Interative), each test item requires to be turned on: Line Spear King' user selects Loop Sequential Mod e for testing, maximum line private When the number is 9 9 9 9, when 10 loops are required to be run, the schedule is as follows: *, the user selected Memory Walking 0 'Memory Walking ' and other f test items and the number of threads set by them are placed in the waiting queue, waiting It is set to Loop by the system 'degree', ready to test. Take a thread of a test item from the temporary waiting queue, judge, ^ 8 匕, and mutually exclusive conditions, if it can run, reduce the number of threads First, when the thread f is 〇, 'remove it from the temporary waiting queue. If there is a test item thread that can be opened in the temporary waiting, take a test from the waiting queue.

第13頁 1266984 五、發明說明(10) 項線程’判斷它的互斥條件,如果可以開啟,將其開啟, 放入運行佇列,否則將該測試項放入臨時等待佇列中。迴 圈判斷’直到臨時等待佇列,等待佇列為空時,等待。當 運行佇列為空時,將L ο 0 p C 〇 u n t增加一,重新調度線程的 下一次運行。如果[〇 0 p c 〇 u n t達到1 〇次,程式運行結束。 運行結果為:Memory Walking 0 ’Memory Walking 1,Memory March R的2個線程,Key board的1個線程,被開 啟運行’當交互線程K e y b o a r d結束後Μ o u s e被開啟,然後 陸續是設備級交互線程Video Color Purity, Video DAC Address,Video Mode,Video Direct — 個一個線程被開 啟運行,一次Loop結束,下一次迴圈又從Memory Walking 0開始運行,直到1 0次L ο ο p,測試結束,顯示測試資訊。 下面以迴圈並行模式為例,對本發明進行詳細說明。 當前測試項包括 Memory Walking 0, Memory Walking 1, Memory March RCExclusi ve with node),每個測試項 要求開啟3個線程進行測試,Keyboard,Mouse (I n t e r a c t i v e ),每個測試項要求開啟2個線程進行測試, Video Color Purity,Video DAC Address,Video Mode, Video Direct(Interactive),每個測試項要求開啟 4個線程,用戶選擇Loop Paral lei Mode進行測試,要求 運行1 0次,最大線程數為9 9 9 9的情況下,調度如下: 將用戶選擇的 Memory Walking 0,Memory Walking 1 等測試項,以及它們設定的線程數放入等待佇列中,等候 被系統調度,將Loop count設為0,準備測試。Page 13 1266984 V. Invention Description (10) Item Thread 'Determine its mutually exclusive condition. If it can be turned on, turn it on and put it into the running queue. Otherwise, put the test item into the temporary waiting queue. Loop back to judge ' until you wait for the queue, wait for the queue to be empty, wait. When the running queue is empty, increment L ο 0 p C 〇 u n t to reschedule the next run of the thread. If [〇 0 p c 〇 u n t reaches 1 〇, the program operation ends. The result of the operation is: Memory Walking 0 'Memory Walking 1, 2 threads of Memory March R, 1 thread of Key board, is started to run 'When the interactive thread Ke eyboard is finished, ous ouse is turned on, and then it is device-level interactive thread Video Color Purity, Video DAC Address, Video Mode, Video Direct — One thread is started, one loop ends, the next loop starts from Memory Walking 0, until 10 times L ο ο p, the test ends, display Test information. The present invention will be described in detail below by taking the loop parallel mode as an example. The current test items include Memory Walking 0, Memory Walking 1, Memory March RCExclusi ve with node). Each test item requires 3 threads to be tested, Keyboard, Mouse (I nteractive), and each test item requires 2 threads to be opened. Test, Video Color Purity, Video DAC Address, Video Mode, Video Direct (Interactive), each test item requires 4 threads to be opened. The user selects Loop Paral lei Mode to test, requires 10 runs, and the maximum number of threads is 9 9 In the case of 9 9 , the schedule is as follows: The test items such as Memory Walking 0 and Memory Walking 1 selected by the user, and the number of threads set by them are placed in the waiting queue, waiting to be scheduled by the system, and the Loop count is set to 0, ready test.

第14頁 1266984Page 14 1266984

從:=等待佇列中取出一個測試項的一個線程,判斷 :ΐ η件,如果可以運行’冑其線程數減-,當線程 數為〇時’將其從臨時等待仔列中刪除。如果臨時等待中 沒有可以開啟的測試項線程,從等待佇列中取出一個測試 項線程,判斷它的互斥條件’如果可以開啟,將其開啟, 放入運行佇列,否則將該測試項放入臨時等待佇列中。當 等待佇列到達隊尾時,下一次迴圈又從等佇列的頭開始, Loopcount增加一,直到1〇次。當臨時等待佇列為空時, 等待運行佇列中測試項結束後,測試結束。A thread that takes a test item from the := wait queue, and judges: η η, if it can run '胄 its thread count minus-, when the number of threads is ’', remove it from the temporary wait queue. If there is no test item thread that can be opened in the temporary waiting, take a test item thread from the waiting queue and judge its mutual exclusion condition. If it can be turned on, turn it on and put it into the running queue. Otherwise, put the test item. Enter the temporary wait queue. When waiting for the queue to reach the end of the queue, the next loop starts from the head of the queue, and Loopcount is incremented by one until one. When the temporary wait queue is empty, the test ends when the test item in the run queue is finished.

々運行結果為:Memory Walking 0,Memory Walking 1等Exclusive with none的測試項的每個線程運行1〇次 的同時 ’ Keyboard,Mouse’ Video Color Purity 等交互 的測試項的每個線程依次運行1 〇次。 下面以時間串列模式為例對本發明進行詳細說明。The result of the operation is: Memory Walking 0, Memory Walking 1, etc. Each thread of the test item with Exclusive with none runs 1 time while each thread of the interactive test item such as 'Keyboard, Mouse' Video Color Purity runs 1 依次 in turn. Times. The present invention will be described in detail below by taking the time series mode as an example.

當前測試項為包括Storage HardDisk Funnel Read,Storage HardDisk Random Read, (Exclusive with none),每個測試項要求開啟2個線程,Mov i e P 1 ay,Mouse (Interact ive),每個測試項要求開啟2個線程,LPTThe current test items include Storage HardDisk Funnel Read, Storage HardDisk Random Read, (Exclusive with none), each test item requires 2 threads to be enabled, Mov ie P 1 ay, Mouse (Interact ive), and each test item requires 2 Threads, LPT

ECPMode ReadWrite, LPT Extena1 Loopback, LPT SPPMode ReadWrite(Exclusive with device),每個測試❿ 項要求開啟2個測試線程。用戶選擇Time Sequent ialECPMode ReadWrite, LPT Extena1 Loopback, LPT SPPMode ReadWrite (Exclusive with device), each test item requires 2 test threads to be enabled. User selected Time Sequent ial

Mode運行測試,最大線程數為9 9 9 9的情況下,調度如下: 將用戶選擇的 Storage HardDisk Funnel Read, Storage HardDisk Random Read等測試項,以及它Mode running test, the maximum number of threads is 9 9 9 9, the scheduling is as follows: User selected Storage HardDisk Funnel Read, Storage HardDisk Random Read and other test items, and it

第15頁 1266984Page 15 1266984

荨候被糸統調度,將 設定結束運行時間 們a又疋的線程數放入等待仔列中, Loopcount設為 〇,開啟一個 Timer, 準備測試。 然後從臨時等待仔列中取出一個測試項的一個線程, 判斷它的互斥條件,如果可以運行,冑其線程數減二,當 線程數為0時,將其從臨時等待佇列中刪除。如果臨時等田 待中沒有可以開啟的測試項線程,從等待佇列中取出一個 測試項線程,判斷它的互斥條件,如果可以開啟,將其開 啟,放入運行佇列,否則將該測試項放入臨時等待佇^At this time, it is scheduled by the system, and the number of threads that are set to end the running time is put into the waiting queue. Loopcount is set to 〇, and a timer is started to prepare for testing. Then, a thread of a test item is taken from the temporary waiting queue to judge its mutually exclusive condition. If it can be run, its number of threads is reduced by two. When the number of threads is 0, it is deleted from the temporary waiting queue. If there is no test item thread that can be opened in the temporary waiting field, a test item thread is taken out from the waiting queue, and its mutual exclusion condition is judged. If it can be turned on, it is turned on and put into the running queue, otherwise the test is performed. Item put in temporary waiting 伫^

中。迴圈判斷,直到臨時等待佇列,等待佇列為空時,等 待。當運行佇列為空時,將L〇opcount增加一,重新調度 線程的下一次運行。當T i mer到時時,發送消息,將運行 佇列中的每一線程結束,結束測試。 運行結果為:Storage HardDisk Funnelin. Loopback judgment until waiting for the queue, waiting for the queue to be empty, waiting. When the run queue is empty, increase L〇opcount by one and reschedule the next run of the thread. When the T i mer arrives, the message is sent, and each thread in the running queue ends, ending the test. The result is: Storage HardDisk Funnel

Read,Storage HardDisk Random Read的 2個線程,MovieRead, 2 threads of Storage HardDisk Random Read, Movie

Play ’ LPT ECPMode ReadWrite的 1個線程,被開啟運 行,當交互線程Μ o v i e P 1 a y結束後Μ o u s e被開啟。當L P T ECPMode ReadWrite運行結束後,LPT ExtenalLoopback, LPT SPPMode ReadWrite— 次運行。這到一次 Lοop結束,One thread of Play ’ LPT ECPMode ReadWrite is started, and 交互 o u s e is turned on when the interactive thread Μ o v i e P 1 a y ends. When L P T ECPMode ReadWrite runs, LPT ExtenalLoopback, LPT SPPMode ReadWrite - runs. This is the end of Lοop.

下一次迴圈又從Storage HardDisk Funnel Read開始運 行,直到1 0次Loop,測試結束,顯示測試資訊。 下面以時間並行模式為例,對本發明進行詳細說明。 當前測試項為 Storage HardDisk Funnel Read,Storage HardDisk Random Read(Exclusive withThe next loop starts running from the Storage HardDisk Funnel Read until 10 loops, the test ends, and the test information is displayed. The present invention will be described in detail below by taking the time parallel mode as an example. The current test items are Storage HardDisk Funnel Read, Storage HardDisk Random Read (Exclusive with

第16頁 1266984 五、發明說明(13) none),每個測試項要求開啟2個線程,M〇vie Play, Mouse (Interacitve),每個測試項要求開啟2個線程,LPT ECPMode ReadWrite, LPT Extena1 Loopback, LPT SPPMode ReadWrite(Exclusive with device),每個測試 項要求開啟2個測試線程。用戶選擇Time Paral lei Mode 運行測試,最大線程數為9 9 9 9的情況下,調度如下: 將用戶選擇的 Storage HardDisk Funnel Read,Storage HardDisk Random Re ad等測試項,以及它 們設定的線程數放入等待佇列中,等候被系統調度,將 Loopcoun t設為0,開啟一個丁 i mer,設定結束運行時間, 準備測試。 從臨時等待仔列中取出一個測試項的一個線程,判斷 它的互斥條件,如果可以運行,將其線程數減一,當線程 數為0時’將其從臨時等待仵列中刪除。如果臨時等待中 沒有可以開啟的測試項線程,從等待佇列中取出一個測試 項線程’判斷它的互斥條件,如果可以開啟,將其開啟, 放入運行佇列,否則將該測試項放入臨時等待仵列中。當 等待仵列到達列尾時,下一次迴圈又從等仔列的頭開始, L ο 〇 p c 〇 u n t增加一,直到τ i m e r到時時,將所有的運行線 程結束掉’將臨時等待仔列、運行符列清空,測試結束。你 運行結果:Storage HardDisk Funnel Read,Storage HardDisk Random Read等 Exclusive with none 的測試項 的每個線程運行10次的同時,Movie Play, Mouse交互的測 試項線程依次運行,LPT ECPMode ReadWritePage 16 1266984 5, invention description (13) none), each test item requires 2 threads to be opened, M〇vie Play, Mouse (Interacitve), each test item requires 2 threads to be opened, LPT ECPMode ReadWrite, LPT Extena1 Loopback, LPT SPPMode ReadWrite (Exclusive with device), each test item requires 2 test threads to be enabled. The user selects Time Paral lei Mode to run the test. When the maximum number of threads is 9 9 9 9 , the schedule is as follows: The user selected Storage HardDisk Funnel Read, Storage HardDisk Random Re ad and other test items, and the number of threads they set are placed. Wait for the queue, wait for the system to be scheduled, set Loopcoun t to 0, turn on a immer, set the end time, and prepare for testing. A thread that takes a test item from the temporary wait queue to determine its mutually exclusive condition. If it can run, reduce its number of threads by one. When the number of threads is 0, 'remove it from the temporary wait queue. If there is no test item thread that can be opened in the temporary wait, take a test item thread from the wait queue to determine its mutually exclusive condition. If it can be turned on, turn it on and put it into the running queue. Otherwise, put the test item. Enter the temporary wait queue. When waiting for the queue to reach the end of the column, the next loop starts from the head of the queue, L ο 〇pc 〇unt increases by one until τ imer expires, and all running threads end. The column, run column are cleared, and the test ends. You run the results: Storage HardDisk Funnel Read, Storage HardDisk Random Read, etc. Exclusive with none test items run 10 times per thread, while Movie Play, Mouse interactive test items run in sequence, LPT ECPMode ReadWrite

第17頁 1266984 五、發明說明(14) LPTExtenalLoopback,LPT SPPMode ReadWrite也依次運 行直到T i in e r到時為止。 下面迴圈串列模式為例,對本發明進行詳細說明。 當前測試項為 Storage HardDisk Funnel Read,Storage HardDisk Random Read,(Exclusive with none),每個測試項要求開啟3個線程,用戶選擇Loop Sequential Mode進行測試,要求運行1〇次,最大線程數 為4的情況下,調度如下: 將用戶選擇的 Storage HardDisk Funnel Read,Storage HardDisk Random Read等測試項,以及它 們設定的線程數放入等待佇列中,等候被系統調度,將 L ο 〇 p c 〇 u n t設為〇,準備測試。 從臨時等待仵列中取出一個測試項的一個線程,判斷 它的互斥條件,如果可以運行,將其線程數減一,當線程 數為0時’將其從臨時等待仵列中刪除。如果臨時等待中 沒有可以開啟的測試項線程,從等待佇列中取出一個測試 項線程’判斷它的互斥條件,如果可以開啟,將其開啟, 放入運行佇列,否則將該測試項放入臨時等待佇列中。當 開始的線程數達到4時,等待,直到有線程結束,才可以田 调度。當等待佇列到達隊尾時,下一次迴圈又從等佇列的 =開始,L〇opcount增加一,直到1〇次。當臨時等待佇列 為空時/等待運行佇列中測試項結束後,測試結束。 ,行結果為:Storage HardDisk Funnel 三個線 ^ 〇rage HardDisk Rand〇m Read的一個線程同時運 1266984 五、發明說明(15) 行,當有一個線程結束後,Storage HardDisk Random Read的第二個線程才可以運行,當有一個線程結束後, Storage HardDisk Random Read的第三個線程才可以運 行,一次Loop結束,Loop count增加一,直到1 〇次〇 下面以迴圈並行模式為例,對本發明進行詳細說明。 當前測試項為 Memory Walking 0 ,Memory Bit stuct’MultiCPU,(Exclusive with none),每個測試項要 求開啟2個測試線程,最大線程數為9 9 9 9,用戶選擇l 〇 〇 p Parallel Extendable運行測試,要求迴圈10次,調度的Page 17 1266984 V. Invention Description (14) LPTExtenalLoopback, LPT SPPMode ReadWrite is also run until T i in e r. The following loop loop mode is taken as an example to explain the present invention in detail. The current test items are Storage HardDisk Funnel Read, Storage HardDisk Random Read, (Exclusive with none). Each test item requires 3 threads to be opened. The user selects Loop Sequential Mode to test, and requires 1 time to run. The maximum number of threads is 4. In the case, the schedule is as follows: The user selected Storage HardDisk Funnel Read, Storage HardDisk Random Read and other test items, and the number of threads set by them are placed in the waiting queue, waiting to be scheduled by the system, set L ο 〇pc 〇unt Hey, prepare for the test. A thread that takes a test item from the temporary wait queue to determine its mutually exclusive condition. If it can run, reduce its number of threads by one. When the number of threads is 0, 'remove it from the temporary wait queue. If there is no test item thread that can be opened in the temporary wait, take a test item thread from the wait queue to determine its mutually exclusive condition. If it can be turned on, turn it on and put it into the running queue. Otherwise, put the test item. Enter the temporary wait queue. When the number of threads starting reaches 4, wait until the end of the thread before scheduling. When waiting for the queue to reach the end of the queue, the next loop starts from the = of the equal queue, and L〇opcount is incremented by one until one. The test ends when the temporary wait queue is empty/waiting for the end of the test in the run queue. The result of the line is: Storage HardDisk Funnel three lines ^ 〇rage HardDisk Rand〇m Read a thread at the same time transport 1266984 5, invention description (15) line, when there is a thread, the second thread of Storage HardDisk Random Read It can be run. When one thread ends, the third thread of Storage HardDisk Random Read can run. Once the loop ends, the Loop count is incremented by one until 1 time. The loop parallel mode is taken as an example to perform the present invention. Detailed description. The current test item is Memory Walking 0, Memory Bit stuct'MultiCPU, (Exclusive with none). Each test item requires 2 test threads to be enabled. The maximum number of threads is 9 9 9 9. The user selects l 〇〇p Parallel Extendable to run the test. , request loop 10 times, scheduled

情況如下: °又 將用戶選擇的 Memory Walking 〇 ,Memory Bit stuct’MultiCPU等測試項,以及它們設定的線程數放入$ 待佇列中,等候被系統調度,將L〇〇pc〇unt設為〇,將π I temCount值設為〇,準備測試〇 從臨時等待佇列中取出一個測試項的一個線程’判處 它的互斥條件’如果可以運行,將其線程數減一 數為0時’將其從臨時等待佇列中删除。如果臨田 沒有可以開啟的測試項線程,從等待仔 ’ 項線程’判斷它的互斥條件,如果可“:取The situation is as follows: ° The user selected Memory Walking 〇, Memory Bit stuct 'MultiCPU and other test items, and the number of threads set by them are placed in the waiting queue, waiting to be scheduled by the system, set L〇〇pc〇unt to 〇, set the π I temCount value to 〇, ready to test 一个 a thread that takes a test item from the temporary wait queue' to determine its mutually exclusive condition 'if it can run, reduce its number of threads to 0' Remove it from the temporary wait queue. If there is no test item thread that can be opened in Lintian, it will judge its mutual exclusion condition from waiting for the thread of the item, if it can be:

放入運仃佇列,否則將該測試項放入臨 _ ^二 開啟一個線程’將Itemcount增加一。^/寺待^列中。卞 尾時’等待。每個開啟的測試線程内;運行?二到達列 ItemCount減一。當 itemc〇unt為 〇時,發 70 i 行佇列中的線程結束運行。 I息,調度運Put it in the operation column, otherwise put the test item in Pro_^2 to open a thread' to increase Itemcount by one. ^ / Temple to be in the ^ column.卞 Waiting while waiting. Within each open test thread; run? Two arrival columns ItemCount minus one. When itemc〇unt is 〇, the thread in the row of row i ends. I interest, dispatch

第19頁 1266984 五、發明說明(16) 運行結果:Memory Walking 0 ,Memory Bit st uct,Multi CPU的6個測試線程同時運行,直到最慢的 Memory Walking 0運行10此後,運行結束。 雖然本發明以前述之較佳實施例揭露如上,然其並非 用以限定本發明,故任何熟悉此技藝者,在不脫離本發明 之精神和範圍内,當可作些許之更動與潤飾,因此本發明 之保護範圍當視後附之申請專利範圍所界定者為准。 1266984 圖式簡單說明 第1圖係本發明所提之多種互斥條件下之多模式測試系統 之模組架構圖; 第2圖係本發明所提之多種互斥條件下之多模式測試方法 之運作流程圖;及 第3圖係本發明根據互斥條件對測試線程進行處理之流程 圖。 【圖式符號說明】 110 等待模組 111 等待佇列 112 臨時等待佇列 120 模式確定模組 130 測試模組 131 運行仔列 140 變數控制模組 150 互斥判斷模組Page 19 1266984 V. Invention description (16) Operation result: Memory Walking 0 , Memory Bit st uct, 6 test threads of Multi CPU run simultaneously, until the slowest Memory Walking 0 runs 10, the operation ends. Although the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and therefore, those skilled in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims. 1266984 BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a multi-mode test system under various mutually exclusive conditions of the present invention; FIG. 2 is a multi-mode test method under various mutually exclusive conditions proposed by the present invention. The operational flowchart; and the third diagram is a flow chart of processing the test thread according to the mutually exclusive condition. [Description of Symbols] 110 Waiting Module 111 Waiting for List 112 Temporary Waiting List 120 Mode Determination Module 130 Test Module 131 Running Train 140 Variable Control Module 150 Mutual Exclusion Judgment Module

第21頁Page 21

Claims (1)

1266984 六、申請專利範圍 卜一種多種互斥條件下之多模式測試系統 一等待模組,包括: 一等待佇列,用以接收用戶所選之測試項; 一臨時等待佇列,用以臨時存儲衝突測試項 一模式確定模組,其用以接收用戶輸入之測 一測試模組,其包括一運行彳宁列,該測試模 列中的測試項進行測試; 變數控制模組,其根據該測試模式以及用 啟相應之測試變數,控制該測試模組之測試 互斥判斷模組,其提取該等待佇列以及該 之測試項,並判斷其互斥條件,將允許測試 行佇列,將該衝突測試項存儲至該臨時等待 用。 、如申請專利範圍第1項所述之多種互斥條 測試系統,其中所述測試模式包括迴圈串列 行模式、時間串列模式、時間並行模式、及 模式。 、如申請專利範圍第2項所述之多種互斥條 測試系統,其中所述迴圈串列模式更包括普 4、 如申請專利範圍第2項所述之多種互斥條 測試系統,其中所述迴圈並行模式更包括普 5、 如申請專利範圍第1項所述之多種互斥條 測試系統,其中所述互斥條件包括獨佔、交 級衝突、交互衝突以及無任何衝突。 包括: 試模式; 組對該運行佇 戶之選擇,開 迴圈次數;及 臨時等待佇列 項存儲至該運 佇列中等待調 件下之多模式 模式、迴圈並 迴圈並行擴展 件下之多模式 通串列模式。 件下之多模式 通並行模式。 件下之多模式 互衝突、設備1266984 VI. Application for Patent Range A multi-mode test system under a variety of mutually exclusive conditions, a waiting module, comprising: a waiting queue for receiving test items selected by the user; a temporary waiting queue for temporary storage The conflict test item is a mode determining module, configured to receive a test input module input by a user, comprising: a running column, the test item in the test module is tested; the variable control module, according to the test The mode and the test variable corresponding to the test module are used to control the test mutual exclusion judgment module of the test module, and extract the wait queue and the test item, and determine the mutually exclusive condition, and the test line queue is allowed to be The conflict test item is stored to the temporary wait. The multiple exclusion test system of claim 1, wherein the test mode comprises a loop serial line mode, a time serial mode, a time parallel mode, and a mode. The multi-rejection strip test system described in claim 2, wherein the loop train mode further includes a plurality of mutually exclusive strip test systems as described in claim 2, wherein The loop parallel mode further includes a plurality of mutual exclusion test systems as described in claim 1, wherein the mutually exclusive conditions include exclusive, cross conflict, interaction conflict, and no conflict. Including: trial mode; group selection of the operation of the door, the number of open loops; and temporary waiting queue items stored in the queue in the multi-mode mode waiting for the adjustment, loop and loop parallel expansion The multi-mode is in serial mode. Multi-mode under the parallel mode. Multiple modes under the conflict, equipment 第22頁 1266984 六、申請專利範圍 6、一種多種互斥條件下之多模式測試方法,包括如 驟: 卜乂 確定測試項,並根據該測試項確定測試模 創建等待佇列、臨時等待佇列以及運行佇^ ’ 項存儲至該等待仔列中; τ歹】’並將该測試 從:等:佇列以及該臨時等待 斷其互斥條件; 攸取,則喊項,同時判 根據該互斥條件將該卷 若測試項為當前允;:測试項存儲至相應之符列; [,及 〗允“]試項,則將其存儲至該運行仵列 右測试項為當前種^空 列中;及 。試項,則將其存儲至該臨時等待佇 7<、^/申^\模式對運行佇列中的測試項進行、、則' 測試方法’其中所+、第4 6項所述之多種互斥條件下之多模式 則將其存儲至該運行佇列 則將其存儲至該臨時等待佇 :驟更包括: "測试項存儲 中;及、為*則允許測試項 ^試項為當前衝突測試項 測試方申法'專盆利φ範圍第6項所述之多種互斥條件下之" 測試項之測:Vq :包括根據該測試項開啟控制變數u 、州忒迴圈次數。 q茭數,控制 、如申請專利範圚 寸〜辄圍第6項所述 > 々從-〆 1266984 六、申請專利範圍 測試方法,其中所述測試模式包括迴圈串列模式、迴圈並 行模式、時間串列模式、時間並行模式、以及迴圈並行擴 展模式。 1 0、如申請專利範圍第6項所述之多種互斥條件下之多模 式測試方法,其中所述互斥條件包括獨佔、交互衝突、設 備級衝突、無任何衝突。 ΦPage 22 1266984 VI. Patent Application Scope 6. A multi-mode test method under various mutually exclusive conditions, including the following steps: Determine the test item, and determine the test mode creation waiting queue and temporary waiting queue according to the test item. And the operation 伫^ ' item is stored in the waiting queue; τ歹]' and the test is from: etc.: the queue and the temporary waiting for the mutual exclusion condition; the capture, then the item is shouted, and the mutual judgment is based on the mutual Reject the condition if the test item is current; the test item is stored in the corresponding column; [, and the "] allows the "] test item to be stored in the run queue. The right test item is the current type ^ In the empty column; and the test item, it is stored in the temporary waiting 伫7<, ^/申^\ mode for the test item in the running queue, then the 'test method' is +, the 4 6 The multiple modes under the multiple exclusion conditions described in the item are stored in the running queue and stored in the temporary waiting queue: the prompt includes: "test item storage; and, * is allowed to test Item ^ test item is the current conflict test item tester The law of the 'special basin φ range of the six items under the multiple exclusion conditions of the "test item test: Vq: including the control variable u according to the test item, the number of state loops. q number, control, For example, the patent application model 辄 辄 辄 第 第 第 第 第 第 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 〆 a time parallel mode, and a loop parallel expansion mode. A multi-mode test method under various mutually exclusive conditions as described in claim 6 wherein the mutually exclusive condition includes exclusive, interactive conflict, device level. Conflict, no conflicts. Φ 第24頁Page 24
TW93109950A 2004-04-09 2004-04-09 Multi-mode testing system with multiple exclusive conditions and method thereof TWI266984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93109950A TWI266984B (en) 2004-04-09 2004-04-09 Multi-mode testing system with multiple exclusive conditions and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93109950A TWI266984B (en) 2004-04-09 2004-04-09 Multi-mode testing system with multiple exclusive conditions and method thereof

Publications (2)

Publication Number Publication Date
TW200534085A TW200534085A (en) 2005-10-16
TWI266984B true TWI266984B (en) 2006-11-21

Family

ID=38191725

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93109950A TWI266984B (en) 2004-04-09 2004-04-09 Multi-mode testing system with multiple exclusive conditions and method thereof

Country Status (1)

Country Link
TW (1) TWI266984B (en)

Also Published As

Publication number Publication date
TW200534085A (en) 2005-10-16

Similar Documents

Publication Publication Date Title
Schweickert A critical path generalization of the additive factor method: Analysis of a Stroop task
CN108200134A (en) Request message management method and device, storage medium
US8042086B2 (en) Method and apparatus for verifying integrated circuit design using a constrained random test bench
CN108090731A (en) A kind of information processing method and equipment
CN110083528A (en) Distribution method, device, computer equipment and the storage medium of test assignment
US20090100200A1 (en) Channel-less multithreaded DMA controller
CN107391268A (en) service request processing method and device
CN106649057A (en) Method and device for testing server pressure
US20040243334A1 (en) Test component and method of operation thereof
CN109656699A (en) Distributed computing method, device, system, equipment and readable storage medium storing program for executing
CN105589783A (en) Application program lag problem data obtaining method and device
CN104750522B (en) The Dynamic Execution method and system of task or flow
CN109739890A (en) Data processing method, device and equipment
CN110058990A (en) Performance test methods and device, computer equipment, storage medium
US20070067532A1 (en) Delayed memory access request arbitration
CN107015850A (en) Thread scheduling method and device
CN113434284A (en) Privacy computation server side equipment, system and task scheduling method
JP5785888B2 (en) Test equipment and test modules
US7240258B1 (en) Parallel test system and method
TWI266984B (en) Multi-mode testing system with multiple exclusive conditions and method thereof
CN106020333B (en) Multi-core timer implementing method and multiple nucleus system
CN106547654A (en) A kind of automated testing method and device
JP5785887B2 (en) Test equipment and test modules
JP4193746B2 (en) Matrix bus connection system
JPS63254530A (en) Information processor

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees