201011529 ---------V 28228twf.doc/n 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種測試系統平台的方法,且特別是 有關於一種測試系統平台穩定性的方法。 【先前技術】 在電子產業的蓬勃發展下,電腦系統的配備與性能日 盈強大。電腦系統内部元件的穩定性也是電子產業提升的 〇 一個目標。作為系統平台的主機板,是電腦或伺服器的主 要電路板’連結微處理器(microprocessor)、主記憶體(main memory)、音效與顯示控制裝置、電源系統、周邊輸入輸 出裝置,以及擴充卡(expansion card;)等裝置。此系統平 台的穩定性非常重要,不言可喻。 每當電腦系統開機時,系統平台要讀取擴充卡的識別 碼(device ID)來和系統平台内部儲存之正確識別碼作比 車父,以辨識該擴充卡裝置。在此讀取與辨識過程中,有可 φ 能因為系統平台的訊號干擾、接觸不良,或是其他未知因 素而導致該擴充卡不能正常工作。此現象反映出系統平台 的不穩定性。這現象並不常發生,但是一旦發生,該擴充 卡就不能工作。現行解決辦法為手動關閉電源,然後再重 新啟動電源,以重新偵測該擴充卡裝置。 右要提升系統平台之穩定性,勢必要先能夠測試系統 的穩疋性。-個測試係統平台穩定性的方法對於系統平台 的研發與改良也有幫助。針對系統平台的穩定性,目前沒 有合適之方法作測試。 5 28228twf.doc/n 201011529 【發明内容】 >、,t發明提供一種系統平台的測試方法,結合電源與測 试平台來偵測擴充卡與驗證碼是否因重新開機(打開電源) 而產生誤判或讀取錯誤的情況發生用以檢測一系統平台 的穩定性與可靠度。 本發明提供一種系統平台的測試方法,所述系統平台 包括了擴充卡’擴充卡内儲存有—識別碼。此方法之步驟 ❹包括^系統平台進行開機;讀取擴充卡的識別碼並驗證 識別=疋否正確;若識別碼不正確則輸出驗證失敗信息; :及右,別碼正確,且當識別碼的驗證次數小於預設值 ’使系辭台進行關機,並重複上述步驟。 •^舟之—實施例中’上述之使系統平台進行開機 , 匕.先取得開機電源以使系統平台進行開機。 流電^明之另一貫施例中,前述實施例中的開機電源為交 • 實施例中’上述之若所述識別碼正確, ,一 Ή 碼的驗證次數小於預設值時,則使系統平A、隹 1=二重複上述步驟之步驟更包括:當識別碼正:, 證次數等_設值時,輸 且所驗述之若所述識別碼正確, 數小於預設值時’則使系統平台進 卜,並重複上述步驟之步驟更包 一預設時間後,再重複上述步驟。 統千。關機 在本發明之—實施例卜上述之若所述識別碼正確, 28228twf.doc/n 201011529 識的驗證次數小於預設值時,則使系統平台進 二:平a進複=步驟之步驟更包括:關閉開機電源以 =統千σ進仃_。在本發明另—實施财,前述實施 例中的開機電源為交流電源。 2發明之—實蝴巾’上述之讀取擴充卡的識別碼 軍mj碼是否正確之步驟更包括:在驗證識別碼後, 累加並儲存識別碼的驗證次數。 计2本發明之—實施例中’上述之讀取擴充卡的識別碼 別碼是否正確之步驟更包括:將所讀取到的識別 確關碼味以驗證識觸是否正確,其正確識別 碼儲存於系統平台中。 台包實施晰,上述之贼綠中的系統平 為實施例中,上述之測試方法中的擴充卡 ❿ t發明利用自動的電源控制方式,讓系統平台可自行 二:1父流)電源在一特定期間内進行關閉與開啟的流程以 自行的效果,並在系統平台重新開機後 =對擴充卡上的驗證碼進行輯與驗證。使用者 =驗證次數與關機時間即可得到完整_試結果,大 开了穩定性測試的方便性與準確性。 為讓本發明之上述特徵和優點能更麵祕,下 牛較佳實_ ’並配合所關式,作詳細說明如下。’ 201011529 28228twf.doc/n 【實施方式】 圖1為根據本發明一實施例之系統平台的測試方法流 程圖。所述系統平台設置至少有一擴充卡,其中儲存一識 別碼。本實施例中,此系統平台則例如是伺服器的主機板。 上述擴充卡則例如為音效卡、顯示卡、網路卡、USB (Universal Serial Bus)擴充卡,等各種擴充卡,在此實施 例,此擴充卡例如為磁碟陣列卡(Redundant Array 〇f ❹201011529 ---------V 28228twf.doc/n Nine, invention description: [Technical field of invention] The present invention relates to a method for testing a system platform, and in particular to a test system platform stable Sexual approach. [Prior Art] With the booming electronics industry, the computer system is equipped with powerful performance. The stability of the internal components of the computer system is also a goal of the electronics industry. As the motherboard of the system platform, it is the main circuit board of the computer or server 'connecting microprocessor, main memory, sound and display control device, power system, peripheral input and output device, and expansion card. (expansion card;) and other devices. The stability of this system platform is very important, it goes without saying. Whenever the computer system is powered on, the system platform reads the identification card (device ID) of the expansion card to compare with the correct identification code stored in the system platform to identify the expansion card device. During this reading and identification process, there is a possibility that the expansion card may not work properly due to signal interference, poor contact, or other unknown factors of the system platform. This phenomenon reflects the instability of the system platform. This phenomenon does not happen very often, but once it happens, the expansion card will not work. The current solution is to manually turn off the power and then restart the power to re-detect the expansion card unit. To improve the stability of the system platform, it is necessary to test the stability of the system first. A method for testing the stability of the system platform is also helpful for the development and improvement of the system platform. There is currently no suitable method for testing the stability of the system platform. 5 28228twf.doc/n 201011529 [Summary content] >,, t invention provides a test method of the system platform, combined with the power supply and the test platform to detect whether the expansion card and the verification code are misjudged due to restarting (turning on the power) Or read errors occur to detect the stability and reliability of a system platform. The present invention provides a test method for a system platform, the system platform including an expansion card's expansion card having an identification code stored therein. The steps of the method include: starting the system platform; reading the identification code of the expansion card and verifying that the identification = 疋 is correct; if the identification code is incorrect, outputting the verification failure information; and the right, the other code is correct, and the identification code is The number of verifications is less than the preset value' to cause the system to shut down and repeat the above steps. • ^舟之—In the embodiment, the above system enables the system platform to be powered on. 取得. Get the power on first to enable the system platform to boot. In another embodiment of the current, the power-on power supply in the foregoing embodiment is the same as in the embodiment. A, 隹1=2. Repeating the steps of the above steps further includes: when the identification code is:, the number of times of the certificate, etc., the value is set, and if the identification code is correct and the number is less than the preset value, then The system platform enters the disc and repeats the steps of the above steps for a predetermined period of time, and then repeats the above steps. Unified thousand. Shutdown in the present invention - the embodiment above, if the identification code is correct, 28228twf.doc / n 201011529 the number of verifications is less than the preset value, then the system platform into the second: level a into the complex = step step Including: turn off the power on the power = _ _ _ _ _ _. In the present invention, the power-on power source in the foregoing embodiment is an AC power source. 2 invention - real butterfly" The above-mentioned reading expansion card identification code The step of correcting the military mj code further includes: after verifying the identification code, accumulating and storing the verification number of the identification code. In the embodiment of the present invention, the step of reading whether the identification code of the expansion card is correct or not includes: correcting the read identification to verify whether the identification is correct, and the correct identification code. Stored in the system platform. The implementation of the package is clear, and the system in the above-mentioned thief green is the embodiment. The expansion card in the above test method is invented by the automatic power control mode, so that the system platform can be self-contained: The process of closing and opening during a specific period has its own effect, and after the system platform is restarted, the verification code on the expansion card is verified and verified. The user = the number of verifications and the shutdown time can get the complete _ test results, which opens up the convenience and accuracy of the stability test. In order to make the above features and advantages of the present invention more versatile, the following is a better example of the present invention and is described in detail below. </ RTI> 201011529 28228 twf.doc/n [Embodiment] FIG. 1 is a flow chart showing a test method of a system platform according to an embodiment of the present invention. The system platform is provided with at least one expansion card, wherein an identification code is stored. In this embodiment, the system platform is, for example, a motherboard of a server. The expansion card is, for example, a sound card, a display card, a network card, a USB (Universal Serial Bus) expansion card, and the like. In this embodiment, the expansion card is, for example, a disk array card (Redundant Array 〇f ❹
Inexpensive Drives/ Redundant Array of Independent Disks, RAID) 〇 ’ /請參照圖1’首先’在步驟S110中,取得開機電源以 使系統平台進行開機。上述開機電源則例如是交流電源 (AC power),此處可利用系統平台來控制電源供應器以決 定是否提供電源至系統平台。 在步驟S12G +,讀取擴充卡上的朗碼,然後在步 驟S130巾,將讀取的識別碼與—正賴別碼做比較以驗 證識別碼衫正確。若識別碼正確舰人步驟si5〇 ;若識 別碼有誤則進入步驟S14〇,輸出驗證失敗信息,並且结束 測試流程。在步驟S15G中,會累加並儲存驗證識別碼的 驗證次數。此—步齡要是社__之顏次數,以 = °在下*重新開機時決定是否需要再次驗證擴充 卡中的識別碼。 ⑽接Ιί,進人轉S16G,綱驗證次數是別、於預設 :人數’右驗證次數達到預設值 剛,並紅物㈣時所 8 v 28228twf.doc/n 201011529 的穩定性。若識別碼的驗證次數小於預設值,則會重新進 行測試流程。在步驟S180中’會先使系統平台關機一預 设時間,然後回到步驟S110,重新開機並重新進行驗證碼 的測試。 魯 鬌 此外,值得注意的是’在步驟S160中所設定的預設 值主要疋反映出糸統平台的測試次數,可依照機型、設計 需求設定為1次,100次或500次,或是任何想要測試的 =數皆可,可完全依照設定者希望測試的穩定性程度而決 定。而在步驟S180中,系統平台維持關機狀態的預設時 間可依照设計需求而定,例如1分鐘或兩分鐘,當然也可 以將預設時間設為零,也就是在完成關機後,隨即重新開 機’本實施例並不受限。 在本實施例中,上述步驟suo與S180中所述的開機 二關機動作可由系統平台進行自動化的控制,例如由系統 ^ σ來直接控制電源供應II,當關機時则請電源供應器 ,電源(如交流電源)’當進行開機時則重新開啟電源供應 =電源。換句親,祕平台可以自行㈣其開機電源 的開啟舆關來進行關機與開機流程。本實關雖缺提供 二―種自行職^機的實施方式,但本技術領域具有通 Li識者可錢實際需求,來㈣改賴機和關機的實施 •本實闕㈣本發明之系統平㈣賴方法的一種 二施方式’其詳㈣㈣财與流餘非㈣限定本發 ’而是輔助綱本㈣之精神所在。例如上述實施例之 9 v 28228twf.doc/n 201011529 累加並儲存識別碼的驗證次數之步驟S150,其作用為紀錄 識別碼驗證之次數,以供與預設次數作比較。此一步驟之 順序並沒有絕對,只要在步驟S160之前即可。故任何對 於本實施例之步驟的順序與内容稍加調整,但是不改變其 主要作用的實施方式,仍屬本發明之範疇。 _Inexpensive Drives/Redundant Array of Independent Disks, RAID) ’ ‘ / Please refer to FIG. 1’ first. In step S110, the power-on power is obtained to enable the system platform to be powered on. The above power-on power source is, for example, AC power, where the system platform can be used to control the power supply to determine whether to provide power to the system platform. In step S12G +, the Lang code on the expansion card is read, and then in step S130, the read identification code is compared with the code to verify that the identification shirt is correct. If the identification code is correct, the shipman steps si5〇; if the identification code is incorrect, the process proceeds to step S14, the verification failure information is output, and the test flow is ended. In step S15G, the number of verifications of the verification identification code is accumulated and stored. If the number of steps is the number of times of the social __, determine whether you need to verify the identification code in the expansion card again when you turn the phone down. (10) Connect Ι, enter the S16G, the number of verifications is different, preset: the number of right-right verification reaches the preset value, and the stability of the red object (four) is 8 v 28228twf.doc/n 201011529. If the number of verifications of the identification code is less than the preset value, the test process will be repeated. In step S180, the system platform is first turned off for a preset time, then returns to step S110, rebooted and the verification code is re-tested. In addition, it is worth noting that the preset value set in step S160 mainly reflects the number of tests of the SiS platform, which can be set to 1 time, 100 times or 500 times according to the model and design requirements, or Any number you want to test can be determined by the degree of stability that the setter wants to test. In step S180, the preset time for the system platform to maintain the shutdown state may be determined according to design requirements, for example, 1 minute or two minutes, and of course, the preset time may be set to zero, that is, after the shutdown is completed, then the system is restarted. Turning on 'this embodiment is not limited. In this embodiment, the power-on two shutdown actions described in the above steps suo and S180 can be automatically controlled by the system platform, for example, the power supply II is directly controlled by the system σ, and the power supply, power supply is required when the power is turned off ( Such as AC power) 'When the power is turned on, the power supply is turned back on = power. In other words, the secret platform can be shut down and booted by itself (4) its power-on power on. Although this actual customs lacks the implementation of the second-class self-employment machine, but the technical field has the practical needs of the people who can understand the money, and (4) the implementation of the change machine and the shutdown. The present system (4) The system of the invention is flat (4) A method of applying the method of Lai's method is as follows: (4) (4) Finance and Remaining (4) Limiting the hair's but the spirit of the auxiliary program (4). For example, in the above embodiment, 9 v 28228 twf.doc/n 201011529, the step S150 of accumulating and storing the number of verifications of the identification code is used to record the number of times the identification code is verified for comparison with the preset number of times. The order of this step is not absolute, as long as it is before step S160. Therefore, any implementation of the steps and contents of the steps of the present embodiment, but without changing its main function, is still within the scope of the present invention. _
藉由本實施例之技術手段,使用者可以快速且方便地 得到系統穩定性的測試結果,當輸出驗證成功信息時,表 示系統平台的穩定性符合規格,當輸出失敗信息時,表示 系統平台出現讀取錯誤的情況發生,也表示系統平台的穩 定性不夠:需要重新檢視系統平台的電路或系統設計。使 用者尚可藉由設定驗證錄與關機所維持 試條件以得到不同情況下的穩定度測結果。 J 綜上所述,本發明提供一種測試系統平台穩定性之方 平二源來達到自動開關機的流程,以驗證系統 定性。使用者不須以手動的方式來進 改變只要透過娜預設值與棘時間即可 dr讀以及重㈣機等候的時間,大幅 性,二:驗證人貞在測試機台穩定時的方便 ^加了測試結果的可靠度。另外,本發明所楹徂夕 2系統平台穩定性之方法可^ 2 研發上,料生更高穩纽之系辭台。與 雖財發明已以較佳實施例揭露如上 strr任何所屬技術領域中具有通常= 脫離从明之精神和範圍内,當可作些許之更動與2不 201011529 28228twf.doc/n 因此本發明之保護範圍當視後附之申請專利範圍所界定者 為準。 【圖式簡單說明】 圖1為根據本發明一實施例之系統平台的測試方法流 程圖。 【主要元件符號說明】 S110〜S180 :步驟With the technical means of the embodiment, the user can quickly and conveniently obtain the test result of the system stability. When the verification success information is output, it indicates that the stability of the system platform conforms to the specification, and when the failure information is output, the system platform appears to be read. Taking the wrong situation also means that the stability of the system platform is not enough: you need to re-examine the circuit or system design of the system platform. The user can still maintain the test conditions by setting the verification record and the shutdown to obtain the stability test results under different conditions. J In summary, the present invention provides a method for testing the stability of a platform of a system to achieve an automatic on/off process to verify system characterization. The user does not need to manually change the change as long as the default value and the time of the spine can be read by dr and the time of the heavy (four) machine waiting, the maximum, the second: the convenience of the verifier when the test machine is stable The reliability of the test results. In addition, the method for the stability of the system platform of the present invention can be used for research and development, and the system is expected to be higher and stable. And the invention has been disclosed in the preferred embodiment as the above-mentioned strr has the usual = detachment from the spirit and scope of the invention, when a slight change can be made and 2 is not 201011529 28228twf.doc/n, therefore the scope of protection of the present invention This is subject to the definition of the scope of the patent application. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a flow chart showing a test method of a system platform according to an embodiment of the present invention. [Main component symbol description] S110~S180: Step
1111