TW201821990A - Computer system and detection method - Google Patents

Computer system and detection method Download PDF

Info

Publication number
TW201821990A
TW201821990A TW105141395A TW105141395A TW201821990A TW 201821990 A TW201821990 A TW 201821990A TW 105141395 A TW105141395 A TW 105141395A TW 105141395 A TW105141395 A TW 105141395A TW 201821990 A TW201821990 A TW 201821990A
Authority
TW
Taiwan
Prior art keywords
processing unit
debug
message
display
menu
Prior art date
Application number
TW105141395A
Other languages
Chinese (zh)
Other versions
TWI653528B (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 TW105141395A priority Critical patent/TWI653528B/en
Publication of TW201821990A publication Critical patent/TW201821990A/en
Application granted granted Critical
Publication of TWI653528B publication Critical patent/TWI653528B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A computer system and a detection method are provided. The computer system comprises a storage unit, a processing unit, and a plurality of keys of a keyboard. The storage unit stores a setup menu. The processing unit accesses the setup menu from the storage unit and displays the setup menu by a display. The keys send a combination key message to the processing unit when all the keys are pressed in the same time. When the processing unit determines receiving the combination key message, the display displays a debug mode item and a debug message item.

Description

電腦系統及檢測方法Computer system and detection method

本發明是有關於一種電腦系統及檢測方法,且特別是有關於一種應用檢測基本輸入輸出系統之設定選單的電腦系統及檢測方法。The invention relates to a computer system and a detection method, and in particular to a computer system and a detection method for detecting a setting menu of a basic input/output system.

基本輸入輸出系統(Basic Input Output System,BIOS)為系統中最基本的軟體。於主機板出廠時,BIOS會燒錄在快閃唯讀型記憶體(Flash ROM)中,例如,BIOS程式可以燒入晶片內,並放在主機板上。此外,BIOS最基本的功能是用來記憶電腦的基本設定值,使用者可以透過BIOS來設定系統的模式,以及硬體之相關參數,例如,在系統開機時,BIOS會進行開機時的開機自我檢測(Power On Self Test,POST),以確定系統組件的基本組態及功能狀態。此時,使用者可透過鍵盤輸入指令,以進入BIOS設定的設定選單(setup menu),以調整各個細項。The Basic Input Output System (BIOS) is the most basic software in the system. When the motherboard is shipped from the factory, the BIOS will be burned into the flash ROM. For example, the BIOS program can be burned into the chip and placed on the motherboard. In addition, the most basic function of the BIOS is to remember the basic settings of the computer. The user can set the system mode and related parameters of the hardware through the BIOS. For example, when the system is powered on, the BIOS will boot itself when booting. Power On Self Test (POST) to determine the basic configuration and functional status of system components. At this point, the user can enter commands through the keyboard to enter the BIOS setup menu (setup menu) to adjust the various details.

一般而言,設定選單用以提供多個一般設定功能選項,使用者可依據基本的需求,以開啟或關閉此些一般設定功能選項,然而,為了避免使用者誤觸到重要的設定值,開發人員通常會將更進階的功能選項隱藏,現行的設定選單的選項主要的缺點為其只能提供固定的選項,若不想給一般使用者動到進階的功能選項,只能直接將此些進階的功能選項隱藏起來,假如有需要動到此些進階的功能選項,只能透過更改程式碼的方式,重新編譯新的BIOS唯讀記憶體(Read-Only Memory,ROM),再將新的BIOS ROM放置到系統平台上。於另一例子中,當使用者想要需要輸出除錯訊息(debug message)時,也需要由更改程式碼,再重新建立(build)一個ROM。In general, the setup menu is used to provide multiple general setting options. The user can turn these general setting options on or off according to the basic requirements. However, in order to prevent users from accidentally touching important setting values, development People usually hide more advanced feature options. The main disadvantage of the current option menu option is that it only provides fixed options. If you don't want to give advanced users advanced access options, you can only do this directly. Advanced function options are hidden. If you need to move to these advanced function options, you can only recompile the new BIOS Read-Only Memory (ROM) by changing the code. The new BIOS ROM is placed on the system platform. In another example, when the user wants to output a debug message, it is also necessary to change the code and rebuild a ROM.

然而,當測試人員或一般使用者需要取得進階的功能選項或除錯訊息時,需請開發人員花費時間重新建立新的BIOS ROM以進行測試或使用,在需要測試大量主機的情況下,開發人員需要將新版的BIOS ROM一一安裝到每台主機上,此舉將會花費大量時間。因此,如何提供一種讓使用者有效率的取得進階的功能選項或除錯訊息,以進行檢測,已成為本領域急待改進的問題之一。However, when testers or general users need to obtain advanced functional options or debug messages, developers should spend time re-establishing a new BIOS ROM for testing or use, and developing if a large number of hosts need to be tested. People need to install a new version of the BIOS ROM on each host, which will take a lot of time. Therefore, how to provide an advanced function option or debug message for the user to efficiently perform detection has become one of the urgent problems to be improved in the field.

為解決上述的問題,本發明之一態樣提供一種電腦系統。一種電腦系統及檢測方法在此揭露。電腦系統包含一儲存單元、一處理單元及複數個按鍵。儲存單元用以儲存一設定選單(setup menu)。處理單元用以讀取儲存單元中的設定選單,並藉由一顯示器顯示設定選單。複數個按鍵用以於按鍵同時被按壓時,傳送一組合鍵訊息至處理單元。其中,於顯示器顯示設定選單時,處理單元判斷是否接收到組合鍵訊息,當處理單元判斷接收到組合鍵訊息時,顯示器顯示一除錯模式選項及一除錯訊息選項。In order to solve the above problems, an aspect of the present invention provides a computer system. A computer system and detection method are disclosed herein. The computer system includes a storage unit, a processing unit, and a plurality of buttons. The storage unit is used to store a setup menu. The processing unit is configured to read a setting menu in the storage unit and display a setting menu by using a display. A plurality of buttons are used to transmit a key combination message to the processing unit when the button is pressed simultaneously. Wherein, when the display menu is displayed, the processing unit determines whether the combination key message is received. When the processing unit determines that the combination key message is received, the display unit displays a debug mode option and a debug message option.

本發明之另一態樣提供一種檢測方法。檢測方法包含:讀取一設定選單,並藉由一顯示器顯示該設定選單;於顯示器顯示設定選單時,藉由一處理單元判斷是否接收到一組合鍵訊息;其中,當處理單元判斷接收到組合鍵訊息時,藉由顯示器以顯示一除錯模式選項及一除錯訊息選項。Another aspect of the invention provides a method of detection. The detecting method comprises: reading a setting menu and displaying the setting menu by using a display; and when the display shows the setting menu, determining, by a processing unit, whether a combination key message is received; wherein, when the processing unit determines that the combination is received When the message is key, the display displays a debug mode option and a debug message option.

綜上所述,本發明所示之電腦系統及檢測方法 可利用組合鍵的按壓以開啟BIOS之設定選單中隱藏的進階功能選項及除錯訊息選項,以直接調整進階功能選項或開啟除錯訊息,無需花費時間重新建立新的BIOS ROM再做測試,因此,本發明所示之電腦系統及檢測方法大幅提升了電腦系統的效率。In summary, the computer system and the detecting method of the present invention can use the pressing of the combination key to open the advanced function option and the debugging information option hidden in the BIOS setting menu to directly adjust the advanced function option or turn on the dividing function. The error message, no need to spend time to re-establish a new BIOS ROM and then test, therefore, the computer system and detection method shown in the present invention greatly improve the efficiency of the computer system.

下文係舉實施例配合所附圖式作詳細說明,但所提供之實施例並非用以限制本發明所涵蓋的範圍,而結構操作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。此外,圖式僅以說明為目的,並未依照原尺寸作圖。為使便於理解,下述說明中相同元件將以相同之符號標示來說明。The embodiments are described in detail below with reference to the accompanying drawings, but the embodiments are not intended to limit the scope of the invention, and the description of structural operations is not intended to limit the order of execution thereof The structure, which produces equal devices, is within the scope of the present invention. In addition, the drawings are for illustrative purposes only and are not drawn to the original dimensions. For ease of understanding, the same elements in the following description will be denoted by the same reference numerals.

關於本文中所使用之『第一』、『第二』、…等,並非特別指稱次序或順位的意思,亦非用以限定本發明,其僅僅是為了區別以相同技術用語描述的元件或操作而已。請參照第1圖,第1圖根據本發明之一實施例繪示一種電腦系統100之示意圖。The terms "first", "second", etc., used herein are not intended to refer to the order or order, nor are they intended to limit the invention, only to distinguish between elements or operations described in the same technical terms. Only. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a computer system 100 according to an embodiment of the invention.

於一實施例中,電腦系統100包含處理單元10、儲存單元20及按鍵31~33。儲存單元20用以儲存基本輸入輸出系統(Basic Input Output System,BIOS)檔案。於一實施例中,電腦系統100可以是個人電腦、平板、手機、伺服器或其他電子裝置。於一實施例中,處理單元10用以處理各種運算,可以實施為體積電路如微控制單元(microcontroller)、微處理器(microprocessor)、數位訊號處理器(digital signal processor)、特殊應用積體電路(application specific integrated circuit,ASIC)或一邏輯電路。於一實施例中,儲存單元20可以用以儲存一BIOS程式,例如為唯讀記憶體。於一實施例中,按鍵31~33可以是位於鍵盤30上的其中三個按鍵,例如按鍵31~33分別為按鍵「Ctrl」、按鍵「Alt」及按鍵「A」,且將此三個按鍵的整體稱為組合鍵,當按鍵「Ctrl」、按鍵「Alt」及按鍵「A」此三個按鍵同時被按壓時,可產生一組合鍵訊息。於一實施例中,組合鍵的選用可以由開發人員事先定義之,例如開發人員亦可選用按鍵「Ctrl」、按鍵「D」及按鍵「F1」此三者成為一組合鍵。然,本發明並不限於此,本發明所述的按鍵可以應用一個以上的任意按鍵以實現之,例如利用按壓單一按鍵或同時按壓兩個按鍵以傳送出一指令訊息,用以告知處理單元10應進行的相對應操作。於一實施例中,電腦系統100包含使用者介面40,用以提供可輸入訊息的操作介面(例如為設定選單300),並將接收到的訊息傳送到處理單元10中。於一實施例中,電腦系統100包含一顯示器50,處理單元10可透過顯示器50以顯示訊息。In one embodiment, the computer system 100 includes a processing unit 10, a storage unit 20, and buttons 31-33. The storage unit 20 is configured to store a Basic Input Output System (BIOS) file. In one embodiment, computer system 100 can be a personal computer, tablet, cell phone, server, or other electronic device. In an embodiment, the processing unit 10 is configured to process various operations, and may be implemented as a volume circuit such as a micro control unit, a microprocessor, a digital signal processor, or a special application integrated circuit. (application specific integrated circuit, ASIC) or a logic circuit. In an embodiment, the storage unit 20 can be used to store a BIOS program, such as read-only memory. In one embodiment, the buttons 31~33 may be three buttons located on the keyboard 30. For example, the buttons 31~33 are the button "Ctrl", the button "Alt" and the button "A", respectively, and the three buttons are used. The whole is called a combination key. When the three keys of the button "Ctrl", the button "Alt" and the button "A" are simultaneously pressed, a combination key message can be generated. In an embodiment, the selection of the combination key can be defined by the developer in advance. For example, the developer can also use the button "Ctrl", the button "D" and the button "F1" to form a combination key. However, the present invention is not limited thereto, and the button of the present invention can be implemented by applying more than one button, for example, by pressing a single button or simultaneously pressing two buttons to transmit an instruction message for informing the processing unit 10 The corresponding operation that should be performed. In one embodiment, the computer system 100 includes a user interface 40 for providing an operational interface for inputting a message (eg, setting menu 300) and transmitting the received message to the processing unit 10. In one embodiment, computer system 100 includes a display 50 through which processing unit 10 can display information.

請參照第2~4圖,第2圖根據本發明之一實施例繪示一種檢測方法200之示意圖。第3圖根據本發明之一實施例繪示一種設定選單300之示意圖。第4圖根據本發明之一實施例繪示一種進階選單400之示意圖。Please refer to FIGS. 2~4. FIG. 2 is a schematic diagram of a detection method 200 according to an embodiment of the invention. FIG. 3 is a schematic diagram of a setting menu 300 according to an embodiment of the invention. FIG. 4 is a schematic diagram of an advanced menu 400 according to an embodiment of the invention.

於步驟S210中,當電腦系統100(例如為一電腦)的電源鍵被按下時,電腦系統100的處理單元10會自行重置為初始狀態,以開啟系統,並準備進行運作。In step S210, when the power button of the computer system 100 (for example, a computer) is pressed, the processing unit 10 of the computer system 100 resets itself to the initial state to turn on the system and is ready to operate.

於一實施例中,當電腦系統100的電源鍵被按下後,電腦系統100會載入BIOS,以執行開機程序。其中,BIOS會執行開機自我檢測(Power On Self Test,POST)。在POST的過程中,處理單元10會檢查電腦各項組件及其設定,例如:中央處理器、主記憶體、鍵盤、滑鼠等等狀態。In one embodiment, when the power button of the computer system 100 is pressed, the computer system 100 loads the BIOS to execute the boot process. Among them, the BIOS will perform Power On Self Test (POST). During the POST process, the processing unit 10 checks the various components of the computer and their settings, such as the central processing unit, main memory, keyboard, mouse, and the like.

於步驟S213中,處理單元10用以判斷除錯訊息選項是否被致能(enable)。於一實施例中,除錯訊息選項可以由開發人員事先設定為致能或非致能(disable),關於致能除錯訊息選項的方法將於後續步驟S229中詳述之。若處理單元10判斷除錯訊息選項沒有被致能,則進入步驟S215 ;若處理單元10判斷除錯訊息選項被致能,則進入步驟S217。In step S213, the processing unit 10 is configured to determine whether the debug message option is enabled. In an embodiment, the debug message option can be set to enable or disable by the developer in advance, and the method for enabling the debug message option will be detailed in the subsequent step S229. If the processing unit 10 determines that the debug message option is not enabled, the process proceeds to step S215; if the processing unit 10 determines that the debug message option is enabled, the process proceeds to step S217.

於步驟S215中,顯示器50不顯示除錯訊息內容。In step S215, the display 50 does not display the debug message content.

於步驟S217中,顯示器50顯示除錯訊息內容。於一實施例中,若開發人員將除錯訊息選項設定為致能,則代表處理單元10會將開機過程中的所有硬體或軟體相關資訊紀錄下來,此些相關資訊包含除錯訊息內容,且處理單元10會於此步驟中,將除錯訊息內容透過顯示器50以顯示之。In step S217, the display 50 displays the contents of the debug message. In an embodiment, if the developer sets the debug message option to enable, the processing unit 10 records all hardware or software related information during the boot process, and the related information includes the content of the debug message. And in this step, the processing unit 10 transmits the content of the debug message to the display 50 for display.

於一實施例中,除錯訊息內容包含紀錄初始化處理器的過程(如處理器編號、時脈、採用電壓等資訊)、初始化記憶體的過程(如記憶體位置、大小、速度、採用電壓等資訊)及/或初始化周邊裝置等資訊,處理單元10可整個POST過程所取得的資訊紀錄於儲存單元20(或其他儲存裝置)中。In an embodiment, the content of the debug message includes a process of recording the initialization processor (such as processor number, clock, voltage, etc.), and a process of initializing the memory (such as memory location, size, speed, voltage, etc.) Information and/or initialization of peripheral devices and the like, the processing unit 10 can record the information obtained by the entire POST process in the storage unit 20 (or other storage device).

於一實施例中,處理單元10可將除錯訊息內容傳送到一基板管理控制器(Baseboard Management Controller,BMC)。一般而言,BMC整合了許多監控電壓用的類比與數位資料轉換器、監測風扇速度用的計數器、驅動風扇的脈衝寬度調整模組(Pulse Width Modulation,PWM)及/或通用I/O、串列埠和I2C匯流排等裝置之訊號。此外,BMC亦可收集電腦系統100的運作情況及系統狀態資訊,例如系統電壓、溫度與風扇速度等。當BMC監測到不符合安全狀態或預設狀態的情況,便會強制切斷系統電源,將過程記錄下來,並且透過網路或串列數據機等發出警告。因此,處理單元10將除錯訊息內容傳送到BMC後,透過BMC可將除錯訊息內容與預設狀態做比對,以檢測是否有系統異常的情況發生,並可將異常的除錯訊息內容部分回傳至處理單元10,使處理單元10可透過顯示器50顯示異常的除錯訊息內容。於一實施例中,處理單元10或BMC可將修正異常的除錯訊息內容進行初步修正(例如將異常參數值修改為預設參數值)。In an embodiment, the processing unit 10 can transmit the content of the debug message to a Baseboard Management Controller (BMC). In general, the BMC integrates many analog and digital data converters for monitoring voltage, counters for monitoring fan speed, Pulse Width Modulation (PWM) and/or general purpose I/O, strings for driving fans. Signals for devices such as trains and I2C bus bars. In addition, the BMC can also collect information about the operation of the computer system 100 and system status, such as system voltage, temperature, and fan speed. When the BMC detects that it does not meet the security status or the preset status, it will forcibly cut off the system power, record the process, and issue a warning through the network or serial data machine. Therefore, after the processing unit 10 transmits the content of the debug message to the BMC, the BMC can compare the content of the debug message with the preset state to detect whether a system abnormality occurs, and can debug the abnormal debug message content. The portion is passed back to the processing unit 10, so that the processing unit 10 can display the abnormal debug message content through the display 50. In an embodiment, the processing unit 10 or the BMC may perform preliminary correction on the content of the debug message that corrects the abnormality (for example, modifying the abnormal parameter value to the preset parameter value).

於步驟S219中,處理單元10判斷是否接收到一顯示選單訊號以進入設定選單300。於一實施例中,使用者於開啟系統後,當畫面開始顯示一些開機流程之訊息時,可按下按鍵「F2」、按鍵「Del」或其他按鍵送出顯示選單訊號,以進入設定選單。其中,各系統廠商於出廠主機時可預先設定用以觸發顯示選單訊號的按鍵,例如華碩(ASUS)主機於按下電源按鍵以開啟系統後,當螢幕顯示此公司的商標時,使用者可按下按鍵「F2」,即可送出一顯示選單訊號至處理單元10,以進入BIOS的設定選單300。In step S219, the processing unit 10 determines whether a display menu signal is received to enter the setting menu 300. In an embodiment, after the user turns on the system, when the screen starts to display some messages of the boot process, the user can press the button "F2", the button "Del" or other button to send the display menu signal to enter the setting menu. Among them, each system manufacturer can preset a button for triggering the display of the menu signal when the host computer is shipped. For example, when the ASUS host presses the power button to turn on the system, when the screen displays the company's trademark, the user can press Press the "F2" button to send a display menu signal to the processing unit 10 to enter the BIOS setup menu 300.

一般而言,設定選單300用以提供多個選項給一般使用者依據基本的需求,例如,功能欄位c1中所提供之一般設定功能選項。於一實施例中,使用者可選擇開啟或關閉功能欄位c1中的至少其中之一一般設定功能選項,或選擇調整功能欄位c1中的至少其中之一一般設定功能選項之參數值。此外,於一實施例中,設定選單300的選單欄位c0包含多個選單b1~b4,用以分類各種設定功能,例如包含主選單(Main) 選單b1、處理器(IntelRCSetup)選單b2、伺服器管理(Server Mgmt.)選單b3、離開(Exit)選單b4…等,訊息欄位c2提供使用者操作設定選單300的操作方法,例如,按下鍵盤30上的按鍵「↑」、「↓」以選擇螢幕選單、按下鍵盤30上的按鍵「+」、「-」以改變選擇…等。關於設定選單300的操作方法與一般已知之設定選單操作方法相同,故此處不再贅述之。In general, the setup menu 300 is used to provide multiple options to the general user based on basic requirements, such as the general set function options provided in function field c1. In an embodiment, the user may select to enable or disable at least one of the function field c1 to generally set the function option, or select at least one of the adjustment function field c1 to generally set the parameter value of the function option. In addition, in an embodiment, the menu field c0 of the setting menu 300 includes a plurality of menus b1~b4 for classifying various setting functions, for example, including a main menu b1, a processor (IntelRCSetup) menu b2, and a servo. The server management (Server Mgmt.) menu b3, the exit menu b4, etc., the message field c2 provides an operation method for the user to operate the setting menu 300, for example, pressing the keys "↑" and "↓" on the keyboard 30. To select a screen menu, press the keys "+" and "-" on the keyboard 30 to change the selection...etc. The operation method of the setting menu 300 is the same as the generally known setting menu operation method, and therefore will not be described again here.

於一實施例中,當處理單元10判斷未進入設定選單300,則進入步驟S239。於步驟S239中,進入作業系統,以進行後續操作。In an embodiment, when the processing unit 10 determines that the setting menu 300 has not been entered, the process proceeds to step S239. In step S239, the operating system is entered to perform subsequent operations.

另一方面,當處理單元10判斷接收到一顯示選單訊號後,處理單元10讀取儲存於儲存單元20中的設定選單300,並藉由一顯示器50顯示設定選單300,接著,進入步驟S221。On the other hand, when the processing unit 10 determines that a display menu signal is received, the processing unit 10 reads the setting menu 300 stored in the storage unit 20, and displays the setting menu 300 by a display 50, and then proceeds to step S221.

於步驟S221中,於顯示器50顯示設定選單300時,處理單元10判斷是否接收到組合鍵訊息。當處理單元10判斷未接收到組合鍵訊息時,進入步驟S223;當處理單元10判斷接收到組合鍵訊息時,進入步驟S227。In step S221, when the display menu 300 is displayed on the display 50, the processing unit 10 determines whether a combination key message has been received. When the processing unit 10 determines that the combination key message has not been received, the process proceeds to step S223; and when the processing unit 10 determines that the combination key message is received, the process proceeds to step S227.

於一實施例中,按鍵31~33分別為鍵盤30上的按鍵「Ctrl」、按鍵「Alt」及按鍵「A」(此三者之組合稱為組合鍵),開發人員可事先設定此三個按鍵同時被按壓時,會產生組合鍵訊息。因此,於步驟S221中,在顯示器50顯示設定選單300時,使用者可經由按壓組合鍵,使組合鍵訊息被傳送至處理單元10中。In one embodiment, the buttons 31-33 are respectively the button "Ctrl", the button "Alt" and the button "A" on the keyboard 30 (the combination of the three is called a combination key), and the developer can set the three in advance. When the button is pressed at the same time, a key combination message is generated. Therefore, in step S221, when the display menu 300 is displayed on the display 50, the user can cause the key combination message to be transmitted to the processing unit 10 by pressing the combination key.

於步驟S223中,當顯示器50顯示設定選單300且處理單元10判斷未接收到組合鍵訊息時,處理單元10藉由顯示器50顯示一預設設定功能。於一實施例中,預設設定功能係指一般主機的設定選單300中,所具有的多個一般設定功能選項,例如BIOS資訊中可包含BIOS提供者、BIOS版本、建立日期及時間、總佔記憶體、系統語言…等資訊。須注意的是,顯示器50所顯示的預設設定功能中,並不包含進階設定功能之選項。In step S223, when the display 50 displays the setting menu 300 and the processing unit 10 determines that the combination key message is not received, the processing unit 10 displays a preset setting function by the display 50. In an embodiment, the preset setting function refers to a plurality of general setting function options in the setting menu 300 of the general host. For example, the BIOS information may include the BIOS provider, the BIOS version, the creation date and time, and the total occupation. Memory, system language, etc. It should be noted that the preset setting function displayed on the display 50 does not include an option of the advanced setting function.

於步驟S225中,當處理單元10接收到一離開選單訊息時(例如使用者透過鍵盤30選擇離開(Exit)按鈕),處理單元10關閉設定選單300,並接著進入步驟S239以執行作業系統。In step S225, when the processing unit 10 receives an outgoing menu message (for example, the user selects an Exit button through the keyboard 30), the processing unit 10 closes the setting menu 300, and then proceeds to step S239 to execute the operating system.

另一方面,於步驟S227中,顯示器50顯示一除錯模式選項MO及一除錯訊息選項MG。於一實施例中,顯示器50只有在處理單元10判斷接收到組合鍵訊息後,才會顯示除錯模式選項MO及除錯訊息選項MG,且如第3圖所示,此兩個選項的預設狀態為非致能(未被開啟)狀態,藉此可避免使用者誤觸此兩個選項。On the other hand, in step S227, the display 50 displays a debug mode option MO and a debug message option MG. In an embodiment, the display 50 displays the debug mode option MO and the debug message option MG only after the processing unit 10 determines that the combination key message is received, and as shown in FIG. 3, the pre-selection of the two options Set the status to a non-enabled (not enabled) state to prevent users from accidentally touching these two options.

接著,使用者可透過設定選單300分別選擇是否致能除錯模式選項MO及/或除錯訊息選項MG。Then, the user can select whether to enable the debug mode option MO and/or the debug message option MG through the setting menu 300.

於步驟S229中,使用者介面40用以接收一除錯訊息指令,並將除錯訊息指令傳送到處理單元10,處理單元10用以致能除錯訊息選項MG。於一實施例中,使用者可透過訊息欄位c2所提供的操作方法,以透過鍵盤30輸入除錯訊息指令,例如,使用者可應用鍵盤30上的按鍵「↑」、「↓」、「+」及/或「-」等操作,以輸入除錯訊息指令,藉此致能除錯訊息選項MG,使得除錯訊息選項MG的狀態由非致能改為致能。In step S229, the user interface 40 is configured to receive a debug message command and transmit the debug message command to the processing unit 10, and the processing unit 10 is configured to enable the debug message option MG. In an embodiment, the user can input a debugging message through the keyboard 30 through the operation method provided by the message field c2. For example, the user can apply the buttons "↑", "↓", and "" on the keyboard 30. Operations such as +" and / or "-" are used to input a debug message command, thereby enabling the debug message option MG, so that the status of the debug message option MG is changed from non-enabled to enabled.

於步驟S231中,當處理單元10再次接收到組合鍵訊息時,關閉設定選單300。舉例而言,於步驟S229中,使用者將除錯訊息選項MG的狀態由非致能改為致能之後,於步驟S231中,可透過再次按壓組合鍵,以關閉設定選單300。In step S231, when the processing unit 10 receives the combination key message again, the setting menu 300 is closed. For example, in step S229, after the user changes the state of the debug message option MG from non-enabled to enabled, in step S231, the set menu 300 can be closed by pressing the combination key again.

於步驟S237中,處理單元10判斷是否重新啟動系統,若需要重新啟動系統,則進入步驟S210,若不需要重新啟動系統,則進入步驟S239。In step S237, the processing unit 10 determines whether to restart the system. If the system needs to be restarted, the process proceeds to step S210. If the system does not need to be restarted, the process proceeds to step S239.

於一實施例中,當使用者將除錯訊息選項MG的狀態由非致能改為致能之後,可透過按壓組合鍵,以關閉設定選單300,並重新啟動系統,以依序進入步驟S210及S213後,再進入步驟S217,由於此時除錯訊息選項MG的狀態為致能,因此,於步驟S217中,顯示器50將會顯示除錯訊息內容。另外,由於步驟S217的詳細內容已於前述說明,故此處不再贅述之。In an embodiment, after the user changes the state of the debug message option MG from non-enabled to enabled, the user can press the combination key to close the setting menu 300, and restart the system to sequentially proceed to step S210. After step S213, the process proceeds to step S217. Since the state of the debug message option MG is enabled, the display 50 displays the content of the debug message in step S217. In addition, since the details of step S217 have been described above, they are not described herein again.

另一方面,於步驟S233中,使用者介面40用以接收一除錯模式指令,並將除錯模式指令傳送到處理單元10,處理單元10用以致能除錯模式選項MO。於一實施例中,使用者可透過訊息欄位c2所提供的操作方法,以透過鍵盤30輸入除錯模式指令,例如,使用者可應用鍵盤30上的按鍵「↑」、「↓」、「+」及/或「-」以輸入除錯模式指令,藉此致能除錯模式選項MO,使得除錯模式選項MO的狀態由非致能改為致能。On the other hand, in step S233, the user interface 40 is configured to receive a debug mode command and transmit the debug mode command to the processing unit 10, and the processing unit 10 is configured to enable the debug mode option MO. In an embodiment, the user can input a debugging mode command through the keyboard 30 through the operation method provided by the message field c2. For example, the user can apply the keys "↑", "↓", and "" on the keyboard 30. +" and / or "-" to input the debug mode command, thereby enabling the debug mode option MO, so that the state of the debug mode option MO is changed from non-enabled to enabled.

於步驟S235中,當處理單元10於接收到除錯模式指令時,藉由顯示器50顯示一進階選單400,且處理單元10可選擇性地更改進階選單400中的進階設定功能。於一實施例中,進階選單400中包含標題欄位c3及進階設定功能欄位c4,進階設定功能欄位c4中包含多個進階設定功能,處理單元10依據一進階設定指令,以設定進階設定功能之至少其中之一者。舉例而言,使用者可將多個進階設定功能中的處理器電壓設定功能PV由3伏特改為5伏特,並將修改後的進階設定功能儲存於儲存單元20中,以進行進一步的測試。In step S235, when the processing unit 10 receives the debug mode command, an advanced menu 400 is displayed by the display 50, and the processing unit 10 can selectively improve the advanced setting function in the menu 400. In an embodiment, the advanced menu 400 includes a title field c3 and an advanced setting function field c4. The advanced setting function field c4 includes a plurality of advanced setting functions, and the processing unit 10 is configured according to an advanced setting command. To set at least one of the advanced setting functions. For example, the user can change the processor voltage setting function PV of the plurality of advanced setting functions from 3 volts to 5 volts, and store the modified advanced setting function in the storage unit 20 for further test.

於使用者完成查閱或設定進階選單400後,進入步驟S231。當處理單元10再次接收到組合鍵訊息時,關閉設定選單300,並再進入步驟S237以選擇是否重新啟動系統。於一實施例中,若進階選單400中的進階設定功能有被修改,則於步驟S237中選擇重新啟動系統,若進階選單400中的進階設定功能沒有被修改,則於步驟S237中不選擇重新啟動系統。此外,由於步驟S231、S237已於前述詳細說明,故此處不再贅述之。After the user completes the review or sets the advanced menu 400, the process proceeds to step S231. When the processing unit 10 receives the combination key message again, the setting menu 300 is closed, and the process proceeds to step S237 to select whether to restart the system. In an embodiment, if the advanced setting function in the advanced menu 400 is modified, the system is restarted in step S237. If the advanced setting function in the advanced menu 400 is not modified, then in step S237 Do not choose to restart the system. In addition, since steps S231 and S237 have been described in detail above, they are not described herein again.

綜上所述,本發明所示之電腦系統及檢測方法係藉由接收到組合鍵訊息後,可讓使用者選擇開啟進階功能選項及/或開啟除錯訊息,並經由重啟系統後,依據進階功能的選項進行重啟及/或顯示除錯訊息。藉此,在開機過程中,當使用者需要取得進階的功能選項或除錯訊息時,只需透過按壓組合鍵以開啟進階功能選項及/或開啟除錯訊息,無需請開發人員花費時間重新建立新的BIOS ROM,故大幅提升了電腦系統的效率。In summary, the computer system and the detection method of the present invention can enable the user to select an advanced function option and/or enable a debugging message by receiving a combination key message, and after restarting the system, Advanced options are available to restart and/or display debug messages. In this way, during the boot process, when the user needs to obtain advanced function options or debug messages, simply press the key combination to open the advanced function options and/or enable the debug message, without requiring the developer to spend time. Re-establishing a new BIOS ROM greatly increases the efficiency of the computer system.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

100‧‧‧電腦系統100‧‧‧ computer system

10‧‧‧處理單元10‧‧‧Processing unit

20‧‧‧儲存單元20‧‧‧ storage unit

30‧‧‧鍵盤 30‧‧‧ keyboard

31‧‧‧按鍵31‧‧‧ button

40‧‧‧使用者介面40‧‧‧User interface

50‧‧‧顯示器50‧‧‧ display

200‧‧‧檢測方法200‧‧‧Test method

S210~S239‧‧‧步驟S210~S239‧‧‧Steps

300‧‧‧設定選單300‧‧‧Setting menu

400‧‧‧進階選單400‧‧‧Advanced menu

b1~b4‧‧‧選單B1~b4‧‧‧ menu

c1‧‧‧功能欄位C1‧‧‧ functional field

c2‧‧‧訊息欄位C2‧‧‧ message field

c3‧‧‧標題欄位C3‧‧‧ title field

c4‧‧‧進階設定功能欄位C4‧‧‧Advanced setting function field

MO‧‧‧除錯模式選項MO‧‧‧Debug mode option

MG‧‧‧除錯訊息選項MG‧‧‧Debug Message Options

PV‧‧‧處理器電壓設定功能PV‧‧‧ processor voltage setting function

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下: 第1圖根據本發明之一實施例繪示一種電腦系統100之示意圖; 第2圖根據本發明之一實施例繪示一種檢測方法200之示意圖; 第3圖根據本發明之一實施例繪示一種設定選單300之示意圖;以及 第4圖根據本發明之一實施例繪示一種進階選單400之示意圖。The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; 2 is a schematic diagram of a detection method 200 according to an embodiment of the present invention; FIG. 3 is a schematic diagram showing a setting menu 300 according to an embodiment of the present invention; and FIG. 4 is a diagram illustrating an embodiment of the present invention. A schematic diagram of an advanced menu 400.

Claims (10)

一種電腦系統,包含: 一顯示器; 一儲存單元,用以儲存一設定選單(setup menu); 一處理單元,用以讀取該儲存單元中的該設定選單,並藉由該顯示器顯示該設定選單;以及 複數個按鍵,用以於該些按鍵同時被按壓時,傳送一組合鍵訊息至該處理單元; 其中,於該顯示器顯示該設定選單時,該處理單元判斷是否接收到該組合鍵訊息,當該處理單元判斷接收到該組合鍵訊息時,該顯示器顯示一除錯模式選項及一除錯訊息選項。A computer system comprising: a display; a storage unit for storing a setup menu; a processing unit for reading the setting menu in the storage unit, and displaying the setting menu by the display And a plurality of buttons for transmitting a combination key message to the processing unit when the buttons are simultaneously pressed; wherein, when the display menu is displayed, the processing unit determines whether the combination key message is received. When the processing unit determines that the combination key message is received, the display displays a debug mode option and a debug message option. 如請求項1所述之電腦系統,更包含: 一使用者介面,用以接收一除錯模式指令,並將該除錯模式指令傳送到該處理單元; 其中,該除錯模式指令用以致能該除錯模式選項,且當該處理單元於接收到該除錯模式指令時,藉由該顯示器顯示一進階選單。The computer system of claim 1, further comprising: a user interface for receiving a debug mode command and transmitting the debug mode command to the processing unit; wherein the debug mode command is used to enable The debug mode option, and when the processing unit receives the debug mode command, displays an advanced menu by the display. 如請求項2所述之電腦系統,其中,該進階選單中包含複數個進階設定功能;該處理單元依據一進階設定指令以設定該些進階設定功能之至少其中之一者。The computer system of claim 2, wherein the advanced menu includes a plurality of advanced setting functions; the processing unit is configured to set at least one of the advanced setting functions according to an advanced setting command. 如請求項3所述之電腦系統,其中,當該處理單元再次接收到該組合鍵訊息時,關閉該除錯模式選項。The computer system of claim 3, wherein the debug mode option is turned off when the processing unit receives the combined key message again. 如請求項1所述之電腦系統,其中,當該顯示器顯示該設定選單且該處理單元判斷未接收到該組合鍵訊息時,該處理單元藉由該顯示器顯示一預設設定功能,且當該處理單元接收到一離開選單訊息時,該處理單元關閉該設定選單並執行一作業系統。The computer system of claim 1, wherein when the display displays the setting menu and the processing unit determines that the combination key message is not received, the processing unit displays a preset setting function by the display, and when When the processing unit receives an exit menu message, the processing unit closes the setup menu and executes an operating system. 如請求項1所述之電腦系統,更包含: 一使用者介面,用以接收一除錯訊息指令,並將該除錯訊息指令傳送到該處理單元; 其中,該除錯訊息指令係用以致能該除錯訊息選項。The computer system of claim 1, further comprising: a user interface for receiving a debug message command and transmitting the debug message command to the processing unit; wherein the debug message command is used Can debug the message option. 如請求項6所述之電腦系統,其中,當該處理單元再次接收到該組合鍵訊息時,關閉該設定選單並重新載入一開機程序。The computer system of claim 6, wherein when the processing unit receives the combination key message again, the setting menu is closed and a booting procedure is reloaded. 如請求項7所述之電腦系統,其中,該處理單元更用以判斷該除錯訊息選項是否被致能,若該處理單元判斷該除錯訊息選項被致能,則顯示一除錯訊息內容。The computer system of claim 7, wherein the processing unit is further configured to determine whether the debug message option is enabled, and if the processing unit determines that the debug message option is enabled, displaying a debug message content . 一種檢測方法,包含: 讀取一設定選單,並藉由一顯示器顯示該設定選單;以及 於該顯示器顯示該設定選單時,藉由一處理單元判斷是否接收到一組合鍵訊息; 其中,當該處理單元判斷接收到該組合鍵訊息時,藉由該顯示器以顯示一除錯模式選項及一除錯訊息選項。A detecting method includes: reading a setting menu and displaying the setting menu by using a display; and when the display unit displays the setting menu, determining, by a processing unit, whether a combination key message is received; wherein, when The processing unit determines, by receiving the combination key message, by using the display to display a debug mode option and a debug message option. 如請求項9所述之檢測方法,於藉由該顯示器以顯示該除錯模式選項及該除錯訊息選項之步驟之後,更包含: 藉由一使用者介面以接收一除錯模式指令,並將該除錯模式指令傳送到該處理單元;其中,該除錯模式指令用以致能該除錯模式選項;以及 於該處理單元於接收到該除錯模式指令時,該處理單元藉由該顯示器顯示一進階選單。The detecting method of claim 9, after the step of displaying the debug mode option and the debug message option by the display, further comprising: receiving a debug mode command by using a user interface, and Transmitting the debug mode command to the processing unit; wherein the debug mode command is configured to enable the debug mode option; and when the processing unit receives the debug mode command, the processing unit is configured by the display unit An advanced menu is displayed.
TW105141395A 2016-12-14 2016-12-14 Computer system and detection method TWI653528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105141395A TWI653528B (en) 2016-12-14 2016-12-14 Computer system and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105141395A TWI653528B (en) 2016-12-14 2016-12-14 Computer system and detection method

Publications (2)

Publication Number Publication Date
TW201821990A true TW201821990A (en) 2018-06-16
TWI653528B TWI653528B (en) 2019-03-11

Family

ID=63258383

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105141395A TWI653528B (en) 2016-12-14 2016-12-14 Computer system and detection method

Country Status (1)

Country Link
TW (1) TWI653528B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955566A (en) * 2018-09-27 2020-04-03 佛山市顺德区顺达电脑厂有限公司 Debugging method
TWI709082B (en) * 2019-07-08 2020-11-01 神雲科技股份有限公司 Recording method for debug messages of bios in a boot phase and a post-boot operation phase
CN112346786A (en) * 2019-08-08 2021-02-09 佛山市顺德区顺达电脑厂有限公司 Debugging information recording method applied to startup stage and operation stage after startup
TWI733213B (en) * 2019-10-08 2021-07-11 神雲科技股份有限公司 Server device
TWI801412B (en) * 2018-09-06 2023-05-11 神雲科技股份有限公司 Debug method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI748241B (en) * 2019-09-12 2021-12-01 神雲科技股份有限公司 Debug message automatically providing method of bios
TWI743569B (en) * 2019-10-09 2021-10-21 葉焦明 Industrial computer failure and abnormal detection and interpretation system
CN113672477B (en) * 2020-05-15 2024-10-01 佛山市顺德区顺达电脑厂有限公司 Debug message automatic providing method for basic input/output system
US11392325B2 (en) 2020-09-28 2022-07-19 Quanta Computer Inc. Method and system for parallel flash memory programming

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1555011A (en) 2003-12-29 2004-12-15 联想(北京)有限公司 Confuguration device and method for electronic device including processor
CN100478910C (en) 2006-03-31 2009-04-15 环达电脑(上海)有限公司 Server and correlative method for providing hardware diagnostic information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI801412B (en) * 2018-09-06 2023-05-11 神雲科技股份有限公司 Debug method
CN110955566A (en) * 2018-09-27 2020-04-03 佛山市顺德区顺达电脑厂有限公司 Debugging method
CN110955566B (en) * 2018-09-27 2023-08-08 佛山市顺德区顺达电脑厂有限公司 Error detecting method
TWI709082B (en) * 2019-07-08 2020-11-01 神雲科技股份有限公司 Recording method for debug messages of bios in a boot phase and a post-boot operation phase
CN112346786A (en) * 2019-08-08 2021-02-09 佛山市顺德区顺达电脑厂有限公司 Debugging information recording method applied to startup stage and operation stage after startup
TWI733213B (en) * 2019-10-08 2021-07-11 神雲科技股份有限公司 Server device

Also Published As

Publication number Publication date
TWI653528B (en) 2019-03-11

Similar Documents

Publication Publication Date Title
TWI653528B (en) Computer system and detection method
TWI465901B (en) Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices
US10481916B2 (en) Computer device and memory startup method of computer device
US20120297178A1 (en) Configuration mode switching system and method
US8909909B2 (en) Apparatus and method of accessing a computer pre-boot routine before activation of a computer keyboard
CN104185836A (en) Method and system for verifying proper operation of computing device after system change
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US9715267B2 (en) Method for switching operating systems and electronic apparatus
JP6701398B2 (en) Firmware update by remote utility
US8909989B2 (en) Method for outputting power-on self test information, virtual machine manager, and processor
US20110113227A1 (en) Electronic equipment and boot method, storage medium thereof
US20060031716A1 (en) Method of providing a real time solution to error occurred when computer is turned on
CN102262569B (en) Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting
US9411602B2 (en) Techniques for booting an information processing system
US20150324209A1 (en) Operating System Switching Method and Dual-Operating System Electronic Device Using the Same
TW200809489A (en) BIOS damage detection and repair method and the motherboard
US20110179259A1 (en) Method for integrating operating system into bios chip and method for booting operating system integrated into bios chip
EP4130960A1 (en) Ui control generation and trigger methods, and terminal
WO2020113469A1 (en) Power on self test method, power on self test device and mobile terminal
CN108132859A (en) Computer system and detection method
US20060224880A1 (en) Information processing apparatus and boot processing control method for information processing apparatus
KR101461002B1 (en) Chassis button to activate graphical user interface to enable user to select diagnostics and/or recovery
US8918630B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
TW201337763A (en) Method of installing the instant-on operation system
US8001313B2 (en) Insertion and removal of computing cards in server I/O slots