M291039 、八、新型說明: •、【新型所屬之技術領域】 本創作係有關於一種故障檢知裝置,更詳而言之,係 關於一種應用於一具有基本輸入輸出系統(Basic Input/Output System ; BIOS)之電子設備中之故障檢知裝 置。 【先前技術】 隨著通訊技術的不斷發展以及消費性需求的不斷改 鲁變’許多電子設備在其功能方面亦不斷地求新求變,相應 地,電子設備例如電腦設備中的各種硬體組件愈來愈豐 富,數量上亦愈來愈多,一旦其中某一硬體組件出現故障, 且維修人員在不確定是哪個硬體組件出現故障時,只能拆 開整台電腦設備逐個進行硬體組件之故障檢測及排除程 序,從而增加維修之困難度,且嚴重地浪費故障排除時間。 而目前業界多採用電腦設備内部配置之韌體—基本輸 φ入輸出糸統(Basic Input/Output System;以下簡稱為 BIOS)程式中所具之開機自我測試(p〇wer一〇nSelf-Test ; 以下簡稱為POST )程序對電腦設備之系統内部各個硬體組 件進行故障檢測,其運作方式係於電腦設備開機時,即啟 動引導程式(booting),以進入BIOS,而在進入BIOS的 過程中首先會執行POST程序,POST程序中之故障檢測係 包括啟動各種測試程序以確定例如記憶體控制器、視頻控 制為、串聯通訊控制器、並聯通訊控制器、鍵盤控制器、 軟碟控制器以及硬碟控制器等電腦設備硬體組件功能是否 5 19102 M291039 正確,當POST程序執行中若發現錯誤時,則會藉由在電腦 •設備之螢幕上顯示錯誤資訊之識別碼(P0ST code),甚或透 過警報聲響之方式以指示所檢測到之故障處,藉此可方便 用戶查找故障之硬體組件所在位置,以利進行後續之故障 排除。 然’能以螢幕上顯示錯誤資訊或以警報聲響之方式來 指示者,通常係為非嚴重故障者,若P0ST程序進行時檢 測到電腦設備某硬體組件出現嚴重故障(例 > 系統時鐘出 錯等致命性故障)時,電腦設備則會直接停機,此時由於各 種初始化設定尚未完成,因而無法發出任何提示或信號, 進而使用戶無法透過POST程序之檢測過程中獲悉電腦設 備之硬體組件之具體故障發生位置。 因此,以POST程序進行電腦設備各硬體組件之故障 檢測’俾無法有效地一一檢測出電腦設備之故障狀況。 針對上述課題,業界中係使用一種偵錯卡(Debug 籲Card) ”可配合其上所裝設的發光二極體來顯示電腦系統 出錯的類型。其中,該谓錯卡的位置設置一般係取決於 BIOS的内^又疋’常見之方法係令將識別碼傳送至 皐亦即傳送到用以連接印表機的連接埠(printerM291039, VIII, new description: •, [New technology field] This creation department is about a fault detection device, more specifically, it is applied to a basic input/output system (Basic Input/Output System) ; BIOS) The fault detection device in the electronic device. [Prior Art] With the continuous development of communication technology and the constant change of consumer demand, many electronic devices are constantly seeking new changes in their functions. Accordingly, various hardware components in electronic devices such as computer devices More and more abundant, and the number is getting more and more. Once one of the hardware components fails, and the maintenance personnel is not sure which hardware component is faulty, the whole computer equipment can only be disassembled and hardwareized one by one. The fault detection and elimination procedures of the components increase the difficulty of maintenance and seriously waste the troubleshooting time. At present, the industry mostly uses the firmware of the internal configuration of the computer equipment - the basic input / output system (hereinafter referred to as BIOS) program has a boot self-test (p〇wer a nSelf-Test; The following is a short-circuit (POST) program for detecting faults in various hardware components of a computer device. The operation mode is when the computer device is booted, that is, booting is started to enter the BIOS, and in the process of entering the BIOS, The POST program is executed. The fault detection in the POST program includes starting various test programs to determine, for example, a memory controller, a video control, a serial communication controller, a parallel communication controller, a keyboard controller, a floppy disk controller, and a hard disk. Whether the hardware component of the computer device such as the controller is 5 19102 M291039 is correct. When an error is found during the execution of the POST program, the error message identification code (P0ST code) is displayed on the screen of the computer/device, or even through the alarm. The way the sound is sounded to indicate the detected fault, thereby facilitating the user to find the location of the faulty hardware component To facilitate the subsequent troubleshooting. However, it can be indicated by the error message on the screen or by the sound of the alarm. It is usually a non-critical fault. If the P0ST program is detected, a serious fault occurs in a hardware component of the computer equipment (example > system clock error When a fatal fault occurs, the computer equipment will stop directly. At this time, since various initialization settings have not been completed, no prompts or signals can be issued, so that the user cannot know the hardware components of the computer equipment through the detection process of the POST program. The location of the specific fault. Therefore, the failure detection of the hardware components of the computer equipment by the POST program can not effectively detect the fault condition of the computer equipment one by one. In response to the above problems, the industry uses a debug card (Debug Card) to display the type of error in the computer system with the LED installed on it. The position setting of the wrong card is generally determined. In the BIOS, the common method is to transfer the identification code to the port that is used to connect to the printer (printer).
Port)’然後㈣錯卡插在該印表機的連接埠上,即可 測發生錯誤時,令該摘錯卡上顯示對應該識別碼的燈號。 然而此種方式需另外購買债錯卡,不僅增加了成本負擔, f無法直接地顯示相關錯誤訊息(須由專業人士進行判 讀)’使用上較為不便。 6 19102 M291039 又’有些業者係使用基板管理控制器(Baseboard -Management Controller ; BMC)晶片來記錄故障狀況,然, 該種方式係需透過對主機板(M B )進行組裝測試方可得知故 障資訊,實耗費時間成本,且在進行組裝測試時,易因治 具等因素所造成之誤判,進而導致人為錯誤之判斷。 綜上所述,如何提出一種故障檢知裝置,以避免習知 技術中之種種缺失,同時亦具有節省查找故障發生部位之 時間以提高故障維修效率之功效,實為此領域目前亟欲解 決之技術問題。 【新型内容】 供=述習知技術之缺點’本創作之主要目的在於提 =種可快速且準確地查找故障發生部位之故障檢知裝 低成另一目的在於提供一種故障檢知裝置,以減 低成本’並提高使用便利性。 •免因一目的在於提供—種故障檢知裝置,以避 ;遠相素所造成之誤判,進而導致人為錯誤之判斷。 且有m要及其他目的,本創作提供-種應用於- B;〇s;i!^^^(BaS1C ^t/Output System; 輸出系“ = 障檢知裝置,其中,該基本輸入 序,並於該檢測程序進行時依昭心^進行-檢測程 別輸出-運算代碼(p〇ST h仏測程序中之各階段分 括—用以儲疒-叙彳 c〇 e,本創作故障檢知裝置係 域存讀個該基本輪人輪^統於該電子設備中 19102 7 M291039 α硬體衣置正^作時進行該檢測程序所輸出之運 以及複數個依據該電子設備中各 ^所 設定之裝置代碼之儲存單元,—二襄置所 統正在㈣f子設備中各於该基本輸入輸出系 … +各硬體裝置進行該檢測程序時,偵 測各硬體裝置之運算代碼,並判斷 ^貞 偵測,若否,則依據所是’則繼續進行 自替力…μ 减碼對應之硬體裝置, 5亥儲存早4取-裝置代碼之主控模組,以及 示=主控模組自該儲存單元所提取之裝置代碼,俾提錢 用者4電子㈣發生故障之硬體裝置之顯示模組。 一』二父Γ習知技術’本創作所揭之故障檢知裝置係透過 刖述儲存早兀、主控槿細W » Fs - > , 犋、、且以及顯不杈組間之相互作用, 成上述主要及其他目的。 【實施方式】 以下係藉由特定的具體實例說明本創作之實施方 鲁式’熟悉此技藝之人士可由本說明書所揭示之内容輕易地 瞭解本創作之其他優點與功效。本創作亦可藉由其他不同 的具體實例加以施行或應用,本說明書中的各項細節亦可 基於不同觀點與應用,在不惊離本創作之精神下進行各種 修飾與變更。 首先士第1圖所示,係為本創作故障檢知裝置1之 實施例基本架構方塊示意®。本創作故障檢知裝置11係應 用於一具有基本輸人輪出系統(Basic lnput/0utputPort)' Then (4) the wrong card is inserted in the connection port of the printer, and when the error is detected, the signal corresponding to the identification code is displayed on the error card. However, this method requires the purchase of a separate debt card, which not only increases the cost burden, but f cannot directly display the relevant error message (subject to judgment by a professional). It is inconvenient to use. 6 19102 M291039 In addition, some companies use a Baseboard-Management Controller (BMC) chip to record fault conditions. However, this method requires assembly testing of the motherboard (MB) to know the fault information. It takes time and cost, and when assembling and testing, it is easy to misjudge due to factors such as jigs and other factors, which leads to the judgment of human error. In summary, how to propose a fault detection device to avoid various defects in the prior art, and also has the effect of saving time for finding the location of the fault to improve the efficiency of fault repair, which is currently being solved in this field. technical problem. [New content] The shortcomings of the technique for the description of the technology. The main purpose of this creation is to provide a fault detection device that can quickly and accurately find the fault detection location. Reduce costs' and improve ease of use. • The purpose of avoiding the purpose is to provide a fault detection device to avoid misjudgment caused by far phase, which leads to the judgment of human error. And there are m and other purposes, this creation provides - apply to - B; 〇 s; i! ^ ^ ^ (BaS1C ^ t / Output System; output system = = obstacle detection device, where the basic input sequence, And when the detection process is carried out, according to the simulation, the detection process output-operation code (p〇ST h the various stages in the test procedure) - for storage - 彳 彳 c〇e, the creation of the fault detection The device is stored in the basic device, and the output of the detection program is performed in the electronic device 19102 7 M291039 α hardware installation and the plurality of devices according to the electronic device The storage unit of the set device code, the second device is in the (four)f sub-devices in the basic input and output system... When each hardware device performs the detection process, the operation code of each hardware device is detected, and the operation code is determined. ^贞Detection, if not, then continue to perform self-replacement...μ Subtracting hardware device according to what it is, 5H save early 4 - device code master module, and display = master mode The device code extracted from the storage unit, the money user 4 electronic (four) failure The display module of the hardware device. The fault detection device disclosed in this creation is based on the description of the storage, the master control, the WW - >, 犋, , and The interaction between the groups is manifested in the above-mentioned main and other purposes. [Embodiment] The following is a specific example to illustrate the implementation of the present invention. The person familiar with the art can easily be disclosed by the present specification. Understand the other advantages and functions of this creation. This creation can also be implemented or applied by other specific examples. The details in this manual can also be based on different viewpoints and applications, without disturbing the spirit of this creation. Various modifications and changes are made. First, as shown in Fig. 1, the basic architecture block diagram of the embodiment of the creative fault detecting apparatus 1 is used. The present fault detecting apparatus 11 is applied to a basic input rounding system. (Basic lnput/0utput
SyStem;_)21之電子設備2中,其中,該基本輸入輸 19102 8 M291039 出系統20係用以對該電子設備2中各硬體裝置21、&及 23進行一檢測程序,並於該檢測程序進行時依照該檢測程 序中之各階段分別輸出一運算代碼(POST code),該檢測程 序係扣開機自我測試(P〇Wer-〇n Self-Test ; POST)程序, 此外 4黾子a又備2係為伺服器(server)、桌上型電腦 (DT) 口衣型電腦(PPC)、個人數位助理(pda)以及筆記型 電腦(NB)等。本創作故障檢知裝置】係包括一儲存單元 1 〇、一主控模組11以及一顯示模組12。 以下即分別針對本創作故障檢知裝置1之上揭各物件 作詳細說明: 該儲存單70 10係用以儲存複數個該基本輸入輸出系 f 20於該電子設備2中各硬體裝置21、22及23正常運作 =行該檢測程序所輸出之運算代碼以及複數個依據該電 :備2中各控制區域之各硬體裝置2卜22及μ所設定 » 9q r ^^亦即,當s玄電子設備2中各硬體裝置21、22 於執行If機於Λ常運作狀態’該基本輸入輸出系統20亦會 pb^r /則忒程序時,一 一輸出每一測試程序中各 :用又以預:,測試階段)之運算代碼,而該儲存單元10 、A儲存4些運算代碼以作為後續處理之依據。 於該電t:,數個依據該基本輸入輸出系統20 運瞀抑#中硬體裝置2卜22及23正常運作時之 設:2^ =燒錄之方式儲存於該儲存單元10中,該電子 橋(North 制區域係指中央處理單元(CPU)控制區域、北 Γ1 g〇控制區域、南橋控制(South Bridge)區 19102 9 M291039 域,、網路控制區域以及螢幕顯示控制區域,且該裝置代碼 係為十進位數碼或十六進位數碼。 該主控模組11係用以於該基本輪入輸出系、统20正在 =電子設備2中各硬體裝置21、22及23進行該檢測程 序K貞測各硬體裝置2卜22及23之運算代碼,並判斷 所制之運算代碼是否與該儲存單元1()所儲存之運曾代 若是’則繼續進行偵測,若否,則依據所二之 運异代碼對應之硬體裝置2卜22及23,自該儲存單元1〇 t一ί置代碼’其中’此處所偵測之運算代碼係指該基 本=入一輸出㈣20於進行開機自我輯時,依實際測試狀 況(母一測試程序中各階段)所輸出之運算代碼,因此,$ ^代碼所代表之資訊有可能為某—硬體裝㈣或22或 Z d錯誤。 於本實施例中,該主控模組U復包括―用以於該基 本輸入輪出系統20正在檢測該電子設備2中各硬體裝置 21、22及23時,偵測各硬體裝置21、。及“之運算代 碼之,測單元110以及一用以判斷該價測單元HO所摘測 之運异代碼是否與該儲存單元1〇所儲存之運算代碼相 同,若是,則令該偵測單元110繼續進行偵測,若否,則 依據該偵測單元110所偵測之運算代碼對應之 2 或22或23,自該儲存單元10提取一裝置代碼之判斷單元 1 111。 一該顯示模組12係用以顯示該主控模組u中之判斷單 元ill自該儲存單元1〇所提取之裝置代碼,俾提示使用者 19102 10 M291039 該電子設備2發生故障之硬體裝置21或22或23。於本實 ’施例中,該顯示模組12係為七段顯示器或發光二極體 (Light Emitting Diode ; LED)顯示器等。 前述裝置代碼之設置方式若以十進位數位碼方式標 示’舉例言之,該中央處理單元控制區域對應之各硬體裝 置則可分別依照如〇 〇至〇 9之裝置代碼依次設定,該北橋 控制區域對應之各硬體裝置則可分別依照如10至19之裝 鲁置代碼依次設定,該南橋控制區域對應之各硬體裝置則可 刀另〗依肤如20至29之裝置代碼依次設定,該網路控制區 域對應之各硬體裝置則可分別依照如3〇至39之裝置代碼 依次設定,該螢幕顯示控制區域對應之各硬體裝置則可分 別依照如40至49之裝置代碼依次設定,其中,若於該基 本輸入輸出系統20正在檢測該電子設備2中之鍵盤硬體^ =圖中標號2卜且該主控模組u由該基本輸人輸出系、 中所❹i之運算代碼係非與該儲存單幻^儲存之 :::碼相同時’該主控模組U則會依據所偵測之運算代 Z應之鍵盤硬體裝置如圖中標號21,自該儲存單元:代 中提取對應鍵盤硬體穿f如圖φ _ _、,、“一圖中標號21之裝置代碼(例如 〇9),亚透過該顯示模組12將鍵盤硬體裝置如圖中二 之4置代碼(例如09)顯示出以令 :: 發生故障之硬體裝置如圖中標號21係為鍵備2 中各硬體裝置正常運作時進行該檢測程序所 19102 11 M291039 ’碼以及複數個依據該電子母供士 叹備中各控制區域之各硬體 ,所設疋之裝置代碼,俾透過一 、 糸統正在對該電子設備中各承雜 輸出 體裝置進行該檢測程序時, 偵測各硬體裝置之運算代碼, &才 否與該儲存單元所儲存之運算代 ^ s开代馬疋 —上、 开代碼相冋,若是,則繼續進 订偵測’若否,肢據㈣測之運算代码對應之硬體裝置, 自該儲存單元提取-裝置代碼,以供—顯*模組透過顯示 该裝置代碼之方式提示使用者該電子設備發生故障之硬體 裝置,藉此可快速且準確地查找故障發生部位,進而提言 故障維修效率。 门 上述實施例僅例示性說明本創作之原理及其功效,而 =用於限制本創作。任何熟習此項技藝之人士均可在不違 月本創作之精神及範疇下,對上述實施例進行修飾與改 麦因此’本創作之權利保護範圍,應如後述之申請專利 範圍所列。 |【圖式簡單說明】 第1圖為一方塊示意圖,其係顯示本創作之故障檢知 装置之實施例基本架構方塊示意圖。 【主要元件符號說明】 1 故障檢知裝置 10 儲存单元 11 主控模組 110 偵測單元 111 判斷單元 12 19102 M291039 ^ 12 顯示模組 2 電子設備 20 基本輸入輸出系統 21、22及23硬體裝置 13 19102In the electronic device 2 of the SyStem;_) 21, wherein the basic input and output 19102 8 M291039 out of the system 20 is used to perform a detection procedure on the hardware devices 21, & and 23 in the electronic device 2, and When the detection program is performed, an operation code (POST code) is respectively output according to each stage in the detection program, and the detection program is linked to the self-test (P〇Wer-〇n Self-Test; POST) program, and the other 4 黾子 a Also available as a server (server), a desktop computer (DT), a mouth-clothing computer (PPC), a personal digital assistant (pda), and a notebook computer (NB). The creation fault detecting device comprises a storage unit 1 , a main control module 11 and a display module 12 . The following is a detailed description of the items on the creation fault detecting device 1 : the storage sheet 70 10 is used to store a plurality of the basic input and output systems f 20 in the hardware devices 21 of the electronic device 2, 22 and 23 normal operation = the operation code output by the test program and the plurality of hardware devices according to the power: 2, 22 and μ of each control area of the device 2 are set to » 9q r ^^, that is, when Each of the hardware devices 21 and 22 in the electronic device 2 performs the If operation in the normal operation state. The basic input/output system 20 also outputs the program in each test program by using the pb^r/then program. In addition, the operation code of the test phase is pre-processed, and the storage unit 10 and A store 4 operation codes as a basis for subsequent processing. In the electric t:, a plurality of hardware devices 2, 22, and 23 in the normal operation of the basic input and output system 20 are stored in the storage unit 10 in the manner of 2^=burning, The electronic bridge (the North system area refers to the central processing unit (CPU) control area, the north Γ1 g〇 control area, the south bridge control (South Bridge) area 19102 9 M291039 domain, the network control area, and the screen display control area, and the device The code is a decimal digit or a hexadecimal digit. The main control module 11 is configured to perform the detection procedure on the basic wheel input/output system, the system 20, and the hardware devices 21, 22, and 23 in the electronic device 2. K 贞 运算 各 各 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 贞 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬 硬The hardware device corresponding to the second code corresponds to the hardware device 2, 22 and 23, and the code from the storage unit 1 〇t ί ' 'where 'herein' refers to the basic = input to the output (four) 20 for booting Self-compilation, according to the actual test conditions (mother one test course) The operation code outputted by each stage in the sequence, therefore, the information represented by the $^ code may be a certain hardware-(4) or 22 or Zd error. In this embodiment, the main control module U includes ― used to detect each hardware device 21, 22, and 23 when the basic input wheeling system 20 is detecting the hardware devices 21, 22, and 23 in the electronic device 2, and "the operation code, the measuring unit 110, and the It is used to determine whether the transaction code extracted by the price measurement unit HO is the same as the operation code stored in the storage unit 1 , and if so, the detection unit 110 continues to detect, and if not, according to the detection The operation code detected by the measuring unit 110 corresponds to 2 or 22 or 23, and the determining unit 1 111 of the device code is extracted from the storage unit 10. The display module 12 is used to display the main control module u. The determining unit ill, from the device code extracted by the storage unit 1俾, prompts the user 19102 10 M291039 that the electronic device 2 has failed the hardware device 21 or 22 or 23. In the embodiment, the display module The 12 Series is a seven-segment display or LED (Light Emitting Di) Ode; LED) display, etc. The setting method of the foregoing device code is indicated by a decimal digit code method. For example, the hardware devices corresponding to the central processing unit control area can be respectively according to devices such as 〇〇9 to 〇9 The codes are sequentially set, and the hardware devices corresponding to the control area of the north bridge can be sequentially set according to the installation code of 10 to 19, respectively, and the hardware devices corresponding to the control area of the south bridge can be further processed according to the skin. The device code of 29 is sequentially set, and the hardware devices corresponding to the network control area can be sequentially set according to device codes such as 3〇 to 39, and the hardware devices corresponding to the display area of the screen display can be respectively according to 40. The device code to 49 is sequentially set, wherein if the basic input/output system 20 is detecting the keyboard hardware in the electronic device 2, the label 2 in the figure and the main control module u is output by the basic input system The operation code of the ❹i ❹i is not stored with the storage phantom ^::: When the code is the same, the main control module U will be based on the detected operation, and the keyboard hardware device should be labeled as shown in the figure. twenty one From the storage unit: the corresponding keyboard hardware is taken out as shown in the figure φ _ _,, "the device code of the numeral 21 in the figure (for example, 〇 9), and the keyboard hardware device is sub-transferred through the display module 12 As shown in the figure, the 4th code (for example, 09) shows the hardware device that causes the fault to occur: The figure 21 is the key device. The hardware device in the normal operation is performed when the hardware device is in normal operation. 19102 11 M291039 'Code and a plurality of hardware codes according to the hardware of each control area in the electronic mother's sigh, and the detection code is set by the system in the electronic device. When it is detected, the operation code of each hardware device is detected, and the operation code stored in the storage unit is compared with the operation code of the storage unit. If yes, then the subscription detection is continued. The hardware device corresponding to the (4) measured operation code, the device code is extracted from the storage unit, and the hardware device for prompting the user to malfunction the electronic device by displaying the device code. This allows for fast and accurate Failure to find a location, and then mention the word fault repair efficiency. The above embodiment is merely illustrative of the principles of the present invention and its effects, and = is used to limit the creation. Anyone who is familiar with the art may modify and modify the above-mentioned embodiments without departing from the spirit and scope of the creation of the moon. Therefore, the scope of protection of the rights of this creation shall be as listed in the scope of patent application mentioned later. [Simplified Schematic Description] Fig. 1 is a block diagram showing a basic block diagram of an embodiment of the fault detecting apparatus of the present invention. [Main component symbol description] 1 Fault detection device 10 Storage unit 11 Main control module 110 Detection unit 111 Judging unit 12 19102 M291039 ^ 12 Display module 2 Electronic device 20 Basic input/output systems 21, 22 and 23 hardware devices 13 19102