TWI596470B - Temperature monitoring system and temperature monitoring method - Google Patents

Temperature monitoring system and temperature monitoring method Download PDF

Info

Publication number
TWI596470B
TWI596470B TW105131802A TW105131802A TWI596470B TW I596470 B TWI596470 B TW I596470B TW 105131802 A TW105131802 A TW 105131802A TW 105131802 A TW105131802 A TW 105131802A TW I596470 B TWI596470 B TW I596470B
Authority
TW
Taiwan
Prior art keywords
temperature
temperature threshold
control device
management control
threshold
Prior art date
Application number
TW105131802A
Other languages
Chinese (zh)
Other versions
TW201812587A (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 TW105131802A priority Critical patent/TWI596470B/en
Application granted granted Critical
Publication of TWI596470B publication Critical patent/TWI596470B/en
Publication of TW201812587A publication Critical patent/TW201812587A/en

Links

Description

溫度監控系統與溫度監控方法Temperature monitoring system and temperature monitoring method

本揭示內容是一種溫度監控技術,且特別是有關於一種溫度監控系統與溫度監控方法。The present disclosure is a temperature monitoring technique, and more particularly to a temperature monitoring system and temperature monitoring method.

於計算機系統中,某些處理器(例如進階精簡指令(Advanced RISC(Reduced instruction set computing) Machine,ARM)處理器)無法於處理器溫度過高時啟動相關保護機制,因此可能會對計算機系統造成損壞。In computer systems, some processors (such as Advanced RISC (Reduced Instruction Set Computing Machine, ARM) processors) cannot activate the relevant protection mechanism when the processor temperature is too high, so it may be a computer system. Cause damage.

本揭示內容的一態樣是提供一種溫度監控系統,其包含溫度感測裝置、管理控制裝置與邏輯裝置。管理控制裝置耦接溫度感測裝置,邏輯裝置耦接管理控制裝置。溫度感測裝置用以監測計算機系統之中央處理器之溫度,以及設定第一溫度門檻值與第二溫度門檻值。管理控制裝置用以判斷溫度是否大於第一溫度門檻值,並且當溫度大於第一溫度門檻值時,進一步判斷溫度是否大於第二溫度門檻值,其中第二溫度門檻值大於第一溫度門檻值。邏輯裝置用以控制計算機系統開啟或關閉。當溫度大於第二溫度門檻值時,管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,並且儲存事件紀錄。One aspect of the present disclosure is to provide a temperature monitoring system that includes a temperature sensing device, a management control device, and a logic device. The management control device is coupled to the temperature sensing device, and the logic device is coupled to the management control device. The temperature sensing device is configured to monitor a temperature of a central processing unit of the computer system and set a first temperature threshold and a second temperature threshold. The management control device is configured to determine whether the temperature is greater than the first temperature threshold, and further determine whether the temperature is greater than the second temperature threshold when the temperature is greater than the first temperature threshold, wherein the second temperature threshold is greater than the first temperature threshold. The logic device is used to control the computer system to be turned on or off. When the temperature is greater than the second temperature threshold, the management control device controls the computer system to shut down the computer system, locks the power button of the computer system, and stores the event record.

於本揭示內容之一實施例中,管理控制裝置更用以判斷溫度大於第一溫度門檻值並等待第一預定時間後,第二次判斷溫度是否大於第一溫度門檻值,並且當第二次判斷溫度大於第一溫度門檻值時,進一步判斷溫度是否大於第二溫度門檻值。In an embodiment of the present disclosure, the management control device is further configured to determine whether the temperature is greater than the first temperature threshold and wait for the first predetermined time, and determine whether the temperature is greater than the first temperature threshold for the second time, and when the second time When it is determined that the temperature is greater than the first temperature threshold, it is further determined whether the temperature is greater than the second temperature threshold.

於本揭示內容之一實施例中,當溫度大於第一溫度門檻值並小於第二溫度門檻值時,管理控制裝置控制邏輯裝置執行計算機系統之關機程序,並控制計時器開始計算關機時間。當管理控制裝置判斷關機程序成功時,管理控制裝置鎖定計算機系統之電源按鈕,清除計時器之關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the temperature is greater than the first temperature threshold and less than the second temperature threshold, the management control device controls the shutdown of the computer system and controls the timer to begin calculating the shutdown time. When the management control device determines that the shutdown procedure is successful, the management control device locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record.

於本揭示內容之一實施例中,當管理控制裝置判斷關機程序失敗時,管理控制裝置判斷溫度是否大於第二溫度門檻值。當溫度大於該第二溫度門檻值時,管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,清除計時器之關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the management control device determines that the shutdown procedure has failed, the management control device determines whether the temperature is greater than a second temperature threshold. When the temperature is greater than the second temperature threshold, the management control device controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record.

於本揭示內容之一實施例中,當管理控制裝置判斷關機程序失敗時,管理控制裝置判斷關機時間是否大於第二預定時間。當關機時間大於第二預定時間時,管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,清除計時器之關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the management control device determines that the shutdown program has failed, the management control device determines whether the shutdown time is greater than the second predetermined time. When the shutdown time is greater than the second predetermined time, the management control device controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record.

於本揭示內容之一實施例中,溫度感測裝置更用以當偵測到溫度大於第一溫度門檻值時,將溫度感測裝置之第一腳位拉至第一位準,當偵測到溫度大於第二溫度門檻值時,將溫度感測裝置之第二腳位拉至第一位準,並且當偵測到溫度小於第二溫度門檻值時,將第二腳位拉至第二位準。管理控制裝置更用以當偵測到第一腳位為第一位準時,判斷溫度大於第一溫度門檻值,當偵測到第二腳位為第一位準時,判斷溫度大於第二溫度門檻值,並且當偵測到第二腳位為第二位準時,判斷溫度小於第二溫度門檻值。In an embodiment of the present disclosure, the temperature sensing device is further configured to: when detecting that the temperature is greater than the first temperature threshold, pull the first position of the temperature sensing device to the first level, when detecting When the temperature is greater than the second temperature threshold, the second pin of the temperature sensing device is pulled to the first level, and when the temperature is detected to be less than the second temperature threshold, the second pin is pulled to the second position Level. The management control device is further configured to determine that the temperature is greater than the first temperature threshold when the first pin is detected as the first level, and determine that the temperature is greater than the second temperature threshold when the second pin is detected as the first level. The value, and when the second pin is detected as the second level, the temperature is judged to be less than the second temperature threshold.

本揭示內容的另一態樣是提供一種溫度監控方法,其包含以下步驟。透過溫度感測裝置,監測計算機系統之中央處理器之溫度,以及設定第一溫度門檻值與第二溫度門檻值。透過管理控制裝置,判斷溫度是否大於第一溫度門檻值。當溫度大於第一溫度門檻值時,透過管理控制裝置進一步判斷溫度是否大於第二溫度門檻值。第二溫度門檻值大於第一溫度門檻值。當溫度大於第二溫度門檻值時,透過管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,並且儲存事件紀錄。Another aspect of the present disclosure is to provide a temperature monitoring method comprising the following steps. The temperature of the central processing unit of the computer system is monitored by the temperature sensing device, and the first temperature threshold and the second temperature threshold are set. It is determined by the management control device whether the temperature is greater than the first temperature threshold. When the temperature is greater than the first temperature threshold, the management control device further determines whether the temperature is greater than the second temperature threshold. The second temperature threshold is greater than the first temperature threshold. When the temperature is greater than the second temperature threshold, the control logic controls the logic to forcibly shut down the computer system, lock the power button of the computer system, and store the event record.

於本揭示內容之一實施例中,透過管理控制裝置,判斷溫度大於第一溫度門檻值並等待第一預定時間後,第二次判斷溫度是否大於第一溫度門檻值。當第二次判斷溫度大於該第一溫度門檻值時,透過管理控制裝置進一步判斷溫度是否大於第二溫度門檻值。In an embodiment of the present disclosure, after the management control device determines that the temperature is greater than the first temperature threshold and waits for the first predetermined time, the second time determines whether the temperature is greater than the first temperature threshold. When the second time determines that the temperature is greater than the first temperature threshold, the management control device further determines whether the temperature is greater than the second temperature threshold.

於本揭示內容之一實施例中,當溫度大於第一溫度門檻值並小於第二溫度門檻值時,透過管理控制裝置控制邏輯裝置執行計算機系統之關機程序,並控制計時器開始計算關機時間。當管理控制裝置判斷關機程序成功時,透過管理控制裝置鎖定計算機系統之電源按鈕,清除計時器之關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the temperature is greater than the first temperature threshold and less than the second temperature threshold, the control device controls the logic device to execute a shutdown process of the computer system, and controls the timer to start calculating the shutdown time. When the management control device determines that the shutdown program is successful, the power button of the computer system is locked by the management control device, the shutdown time of the timer is cleared, and the event record is stored.

於本揭示內容之一實施例中,當管理控制裝置判斷關機程序失敗時,透過管理控制裝置判斷溫度是否大於第二溫度門檻值。當溫度大於第二溫度門檻值時,透過管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,清除計時器之關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the management control device determines that the shutdown procedure has failed, it is determined by the management control device whether the temperature is greater than the second temperature threshold. When the temperature is greater than the second temperature threshold, the control logic controls the logic to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record.

於本揭示內容之一實施例中,當管理控制裝置判斷關機程序失敗時,透過管理控制裝置判斷關機時間是否大於第二預定時間。當關機時間大於第二預定時間時,透過管理控制裝置控制邏輯裝置強制關閉計算機系統,鎖定計算機系統之電源按鈕,清除計時器之該關機時間,並且儲存事件紀錄。In an embodiment of the present disclosure, when the management control device determines that the shutdown program has failed, it is determined by the management control device whether the shutdown time is greater than the second predetermined time. When the shutdown time is greater than the second predetermined time, the control logic controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record.

於本揭示內容之一實施例中,透過溫度感測裝置,當偵測到溫度大於第一溫度門檻值時,將溫度感測裝置之第一腳位拉至第一位準,當偵測到溫度大於第二溫度門檻值時,將溫度感測裝置之第二腳位拉至第一位準,並且當偵測到溫度小於第二溫度門檻值時,將第二腳位拉至第二位準。透過管理控制裝置,當偵測到第一腳位為第一位準時,判斷溫度大於第一溫度門檻值,當偵測到第二腳位為第一位準時,判斷溫度大於第二溫度門檻值,並且當偵測到第二腳位為第二位準時,判斷溫度小於第二溫度門檻值。In an embodiment of the present disclosure, the temperature sensing device is configured to pull the first position of the temperature sensing device to the first level when detecting that the temperature is greater than the first temperature threshold, when detecting When the temperature is greater than the second temperature threshold, the second pin of the temperature sensing device is pulled to the first level, and when the temperature is detected to be less than the second temperature threshold, the second pin is pulled to the second position quasi. Through the management control device, when the first pin is detected as the first level, the temperature is judged to be greater than the first temperature threshold, and when the second pin is detected as the first level, the temperature is determined to be greater than the second temperature threshold. And when detecting that the second pin is the second level, determining that the temperature is less than the second temperature threshold.

綜上所述,本揭示內容可監測中央處理器的溫度,並於溫度高於預定溫度門檻值(例如第一溫度門檻值、第二溫度門檻值)時執行對應動作以有效地保護計算機系統免於損壞。In summary, the present disclosure can monitor the temperature of the central processor and perform corresponding actions when the temperature is above a predetermined temperature threshold (eg, a first temperature threshold, a second temperature threshold) to effectively protect the computer system from Damaged.

以下將以實施方式對上述之說明作詳細的描述,並對本揭示內容之技術方案提供更進一步的解釋。The above description will be described in detail in the following embodiments, and further explanation of the technical solutions of the present disclosure is provided.

為了使本揭示內容之敘述更加詳盡與完備,可參照附圖及以下所述之各種實施例。但所提供之實施例並非用以限制本發明所涵蓋的範圍;步驟的描述亦非用以限制其執行之順序,任何由重新組合,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。To make the description of the present disclosure more detailed and complete, reference is made to the drawings and the various embodiments described below. The examples are not intended to limit the scope of the invention; the description of the steps is not intended to limit the order of execution thereof, and any device having equal efficiency resulting from recombination is covered by the present invention. range.

於實施方式與申請專利範圍中,除非內文中對於冠詞有所特別限定,否則「一」與「該」可泛指單一個或複數個。將進一步理解的是,本文中所使用之「包含」、「包括」、「具有」及相似詞彙,指明其所記載的特徵、區域、整數、步驟、操作、元件與/或組件,但不排除其所述或額外的其一個或多個其它特徵、區域、整數、步驟、操作、元件、組件,與/或其中之群組。In the scope of the embodiments and claims, "one" and "the" may mean a single or plural unless the context specifically dictates the articles. It will be further understood that the terms "comprising", "comprising", "comprising", and "the" One or more of its other features, regions, integers, steps, operations, elements, components, and/or groups thereof.

關於本文中所使用之「約」、「大約」或「大致約」一般通常係指數值之誤差或範圍約百分之二十以內,較好地是約百分之十以內,而更佳地則是約百分五之以內。文中若無明確說明,其所提及的數值皆視作為近似值,即如「約」、「大約」或「大致約」所表示的誤差或範圍。As used herein, "about", "about" or "approximately" is generally within an error or range of about 20% of the index value, preferably within about 10%, and more preferably It is about five percent. Unless otherwise stated, the numerical values referred to are regarded as approximations, that is, the errors or ranges indicated by "about", "about" or "approximately".

另外,關於本文中所使用之「耦接」及「連接」,均可指二或多個元件相互直接作實體接觸或電性接觸,相互間接作實體接觸或電性接觸,或是透過無線連接,而「耦接」還可指二或多個元件相互操作或動作。In addition, "coupled" and "connected" as used herein may mean that two or more elements are in direct physical or electrical contact with each other, indirectly in physical or electrical contact, or through a wireless connection. And "coupled" may also mean that two or more elements operate or act in each other.

請參考第1、2圖。第1圖係說明本揭示內容一實施例之溫度監控系統100示意圖。第2圖係說明本揭示內容一實施例之溫度監控方法200流程圖。溫度監控方法200具有多個步驟S202~S218,其均可應用於如第1圖所述的溫度監控系統100。然熟習本案之技藝者應瞭解到,在上述實施例中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整其前後順序,甚至可同時或部分同時執行。具體實作方式如前揭示,此處不再重複敘述之。Please refer to Figures 1 and 2. 1 is a schematic diagram of a temperature monitoring system 100 in accordance with an embodiment of the present disclosure. 2 is a flow chart illustrating a temperature monitoring method 200 in accordance with an embodiment of the present disclosure. The temperature monitoring method 200 has a plurality of steps S202 to S218, each of which can be applied to the temperature monitoring system 100 as described in FIG. Those skilled in the art should understand that the steps mentioned in the above embodiments can be adjusted according to actual needs, and can be performed simultaneously or partially simultaneously, unless the order is specifically stated. The specific implementation manner is as disclosed above, and will not be repeatedly described herein.

溫度監控系統100包含溫度感測裝置110、管理控制裝置130與邏輯裝置120。管理控制裝置130耦接溫度感測裝置110,邏輯裝置120耦接管理控制裝置130。The temperature monitoring system 100 includes a temperature sensing device 110, a management control device 130, and a logic device 120. The management control device 130 is coupled to the temperature sensing device 110, and the logic device 120 is coupled to the management control device 130.

操作上,邏輯裝置120用以控制計算機系統開啟或關閉。於步驟S202,溫度感測裝置110用以監測計算機系統之中央處理器140的溫度T,以及設定第一溫度門檻值T1(例如約91℃,但本揭示內容不以此為限)與第二溫度門檻值T2(例如約100℃,但本揭示內容不以此為限)。於步驟S204,管理控制裝置130用以判斷中央處理器140的溫度T是否大於第一溫度門檻值T1。當溫度T大於第一溫度門檻值T1時,表示中央處理器140的溫度T超過安全運作的溫度,於是管理控制裝置130於步驟S206進一步判斷溫度T是否大於第二溫度門檻值T2。當溫度T大於第二溫度門檻值T2時,管理控制裝置130於步驟S208控制邏輯裝置120強制關閉計算機系統,鎖定計算機系統之電源按鈕,並且儲存事件紀錄(例如紀錄(Log)檔)。In operation, the logic device 120 is used to control the computer system to be turned on or off. In step S202, the temperature sensing device 110 is configured to monitor the temperature T of the central processing unit 140 of the computer system, and set a first temperature threshold T1 (eg, about 91 ° C, but the disclosure is not limited thereto) and the second The temperature threshold T2 (for example, about 100 ° C, but the disclosure is not limited thereto). In step S204, the management control device 130 is configured to determine whether the temperature T of the central processing unit 140 is greater than the first temperature threshold T1. When the temperature T is greater than the first temperature threshold T1, it indicates that the temperature T of the central processing unit 140 exceeds the safe operating temperature, and the management control device 130 further determines in step S206 whether the temperature T is greater than the second temperature threshold T2. When the temperature T is greater than the second temperature threshold T2, the management control device 130 controls the logic device 120 to forcibly turn off the computer system, lock the power button of the computer system, and store an event record (eg, a log file) in step S208.

具體而言,溫度感測裝置110的腳位1101耦接至管理控制裝置130的腳位1301(例如通用輸入輸出(General purpose input/output,GPIO)腳位),溫度感測裝置110的腳位1102耦接至管理控制裝置130的腳位1302(例如GPIO腳位)。溫度感測裝置110更用以當偵測到中央處理器140的溫度T大於第一溫度門檻值T1時,將腳位1101拉至第一位準(例如邏輯低位準)。接著,管理控制裝置130更用以當偵測到腳位1101為第一位準時,於步驟S204判斷溫度T大於第一溫度門檻值T1。Specifically, the pin 1101 of the temperature sensing device 110 is coupled to the pin 1301 of the management control device 130 (for example, a general purpose input/output (GPIO) pin), and the pin of the temperature sensing device 110 1102 is coupled to pin 1302 of management control device 130 (eg, GPIO pin). The temperature sensing device 110 is further configured to pull the pin 1101 to a first level (eg, a logic low level) when detecting that the temperature T of the central processing unit 140 is greater than the first temperature threshold T1. Then, the management control device 130 is further configured to determine that the temperature T is greater than the first temperature threshold T1 in step S204 when the pin 1101 is detected as the first level.

類似地,溫度感測裝置110更用以當偵測到中央處理器的溫度T大於第二溫度門檻值T2時,將腳位1102拉至第一位準(例如邏輯低位準)。接著,管理控制裝置130更用以當偵測到腳位1102為第一位準時,於步驟S206判斷溫度T大於第二溫度門檻值T2。於步驟S208,管理控制裝置130於是控制邏輯裝置120強制關閉計算機系統,鎖定計算機系統之電源按鈕,並且儲存事件紀錄(例如紀錄(Log)檔)。於是,使用者可查看溫度T高於第二溫度門檻值T2造成強制關機的事件紀錄,將腳位1101回復為原始位準以及進行電源按鈕解鎖。Similarly, the temperature sensing device 110 is further configured to pull the pin 1102 to a first level (eg, a logic low level) when detecting that the temperature T of the central processing unit is greater than the second temperature threshold T2. Then, the management control device 130 is further configured to determine that the temperature T is greater than the second temperature threshold T2 in step S206 when the pin 1102 is detected as the first level. In step S208, the management control device 130 then controls the logic device 120 to forcibly turn off the computer system, lock the power button of the computer system, and store an event record (eg, a log file). Therefore, the user can check the event record that the temperature T is higher than the second temperature threshold T2, causing the forced shutdown, returning the foot 1101 to the original level and unlocking the power button.

反之,當溫度感測裝置110偵測到中央處理器的溫度T小於第二溫度門檻值T2時,則將腳位1102拉至第二位準(例如邏輯高位準)。接著,管理控制裝置130更用以當偵測到腳位1102為第二位準時,於步驟S206判斷溫度T小於第二溫度門檻值T2。Conversely, when the temperature sensing device 110 detects that the temperature T of the central processing unit is less than the second temperature threshold T2, the pin 1102 is pulled to the second level (eg, a logic high level). Then, the management control device 130 is further configured to determine that the temperature T is less than the second temperature threshold T2 in step S206 when the pin 1102 is detected as the second level.

須說明的是,第二溫度門檻值T2大於第一溫度門檻值T1。It should be noted that the second temperature threshold T2 is greater than the first temperature threshold T1.

如此一來,溫度監控系統100可有效地監測計算機系統內處理器(例如進階精簡指令(Advanced RISC(Reduced instruction set computing) Machine,ARM)處理器)的溫度,並當溫度高於第二門檻值T2時,強制關閉計算機系統以避免高溫造成計算機系統的損害。In this way, the temperature monitoring system 100 can effectively monitor the temperature of the processor (eg, Advanced RISC (Reduced Instruction Set Computing Machine, ARM) processor) in the computer system, and when the temperature is higher than the second threshold At a value of T2, the computer system is forcibly turned off to avoid damage to the computer system caused by high temperatures.

為了確認中央處理器的溫度T是否大於第一溫度門檻值T1,請參考第3圖。於一實施例中,步驟S204包含步驟S3042~3046。如上述,當溫度感測裝置110溫度T大於第一溫度門檻值T1時,將腳位1101拉至第一位準(例如邏輯低位準)。當管理控制裝置130偵測到腳位1101為第一位準時,於步驟S3042判斷溫度T大於第一溫度門檻值T1。於步驟S3044,管理控制裝置130等待第一預定時間(例如約5秒鐘,但本揭示內容不以此為限),並於步驟S3046第二次判斷溫度T是否大於第一溫度門檻值T1(亦即腳位1101是否為第一位準)。當管理控制裝置130第二次判斷溫度T大於第一溫度門檻值T1(亦即腳位1101為第一位準)時,表示溫度T已超過安全溫度,因此於步驟S206進一步判斷溫度T是否大於第二溫度門檻值T2。In order to confirm whether the temperature T of the central processing unit is greater than the first temperature threshold T1, please refer to FIG. In an embodiment, step S204 includes steps S3042 to 3046. As described above, when the temperature T of the temperature sensing device 110 is greater than the first temperature threshold T1, the pin 1101 is pulled to the first level (eg, a logic low level). When the management control device 130 detects that the pin 1101 is at the first level, it is determined in step S3042 that the temperature T is greater than the first temperature threshold T1. In step S3044, the management control device 130 waits for the first predetermined time (for example, about 5 seconds, but the disclosure is not limited thereto), and determines in step S3046 whether the temperature T is greater than the first temperature threshold T1 ( That is, whether the pin 1101 is the first level). When the management control device 130 determines that the temperature T is greater than the first temperature threshold T1 (that is, the pin 1101 is the first level), it indicates that the temperature T has exceeded the safe temperature, so it is further determined in step S206 whether the temperature T is greater than or equal to The second temperature threshold is T2.

反之,於步驟S3042或S3046,當管理控制裝置130判斷溫度T不大於第一溫度門檻值T1(例如腳位1101為第二位準(例如邏輯高位準))時,表示中央處理器140的溫度T仍在計算機系統的風扇可調節的範圍內,因此管理控制裝置130持續監測中央處理器140的溫度T(步驟S202)。On the contrary, in step S3042 or S3046, when the management control device 130 determines that the temperature T is not greater than the first temperature threshold T1 (for example, the pin 1101 is at the second level (for example, a logic high level)), it indicates the temperature of the central processing unit 140. T is still within the adjustable range of the fan of the computer system, so the management control device 130 continuously monitors the temperature T of the central processor 140 (step S202).

以下說明介於第一溫度門檻值T1與第二溫度門檻值T2之間的情形。當管理控制裝置130於步驟S206判斷溫度T判斷溫度T小於第二溫度門檻值T2,管理控制裝置130於步驟S210控制邏輯裝置120執行計算機系統的關機程序(Graceful shutdown),並控制計時器開始計算關機時間。The case between the first temperature threshold value T1 and the second temperature threshold value T2 will be described below. When the management control device 130 determines in step S206 that the temperature T determines that the temperature T is less than the second temperature threshold T2, the management control device 130 controls the logic device 120 to execute a graceful shutdown of the computer system in step S210, and controls the timer to start calculating. Shutdown time.

具體而言,當溫度感測裝置偵測到中央處理器140的溫度T小於第二溫度門檻值T2時,將腳位1102拉至第二位準(例如邏輯高位準)。接著,管理控制裝置130更用以當偵測到腳位1102為第二位準時,於步驟S206判斷溫度T小於第二溫度門檻值T2。Specifically, when the temperature sensing device detects that the temperature T of the central processing unit 140 is less than the second temperature threshold T2, the pin 1102 is pulled to the second level (eg, a logic high level). Then, the management control device 130 is further configured to determine that the temperature T is less than the second temperature threshold T2 in step S206 when the pin 1102 is detected as the second level.

當管理控制裝置130於步驟S212判斷上述關機程序成功時,管理控制裝置130於步驟S214鎖定計算機系統的電源按鈕,清除計時器計算的關機時間,並且儲存事件紀錄(例如紀錄(Log)檔)。When the management control device 130 determines in step S212 that the shutdown program is successful, the management control device 130 locks the power button of the computer system in step S214, clears the shutdown time calculated by the timer, and stores an event record (for example, a log file).

反之,當管理控制裝置130於步驟S212判斷上述關機程序失敗時,管理控制裝置130於步驟S216進一步判斷關機程序失敗的原因(例如溫度T大於第二溫度門檻值T2或關機時間大於第二預定時間(例如約3分鐘,但本揭示內容不以此為限))。當溫度T大於第二溫度門檻值T2或關機時間大於第二預定時間時,管理控制裝置130控制邏輯裝置120強制關閉計算機系統,鎖定計算機系統的電源按鈕,清除計時器計算的關機時間,並且儲存事件紀錄(例如紀錄(Log)檔)。On the other hand, when the management control device 130 determines in step S212 that the shutdown program fails, the management control device 130 further determines in step S216 the reason for the shutdown program failure (eg, the temperature T is greater than the second temperature threshold T2 or the shutdown time is greater than the second predetermined time). (For example, about 3 minutes, but the disclosure is not limited thereto)). When the temperature T is greater than the second temperature threshold T2 or the shutdown time is greater than the second predetermined time, the management control device 130 controls the logic device 120 to forcibly turn off the computer system, lock the power button of the computer system, clear the shutdown time calculated by the timer, and store Event record (such as record (Log) file).

如此一來,當計算機系統關機程序失敗時,管理控制裝置130可強制關閉計算機系統,並且進一步判斷關機程序失敗的原因,並儲存事件紀錄以利使用者進行除錯。In this way, when the computer system shutdown program fails, the management control device 130 can forcibly shut down the computer system, and further determine the cause of the failure of the shutdown program, and store the event record for the user to debug.

須說明的是,溫度感測裝置110亦可適用於多個中央處理器140的計算機系統。舉例而言,溫度感測裝置110包含兩個(或兩個以上)溫度感測裝置110以分別監測計算機系統的兩個(或兩個以上)中央處理器140,上述溫度感測裝置110均耦接至同一個管理控制裝置130以判斷溫度T是否過高,並且執行對應的動作。It should be noted that the temperature sensing device 110 can also be applied to a plurality of computer systems of the central processing unit 140. For example, the temperature sensing device 110 includes two (or more than two) temperature sensing devices 110 to respectively monitor two (or more) central processing units 140 of the computer system, and the temperature sensing devices 110 are coupled. The same management control device 130 is connected to determine whether the temperature T is too high, and a corresponding action is performed.

實作上,溫度感測裝置110可以是溫度傳感器,邏輯裝置120可以是複雜可程式化邏輯陣列(Complex programmable logic device,CPLD),管理控制裝置130可以是基板管理控制器(Baseboard management controller,BMC)。然而,本揭示內容不以此為限。In practice, the temperature sensing device 110 can be a temperature sensor, the logic device 120 can be a Complex programmable logic device (CPLD), and the management control device 130 can be a Baseboard management controller (BMC). ). However, the disclosure is not limited thereto.

綜上所述,本揭示內容可監測中央處理器140的溫度T,並於溫度T高於預定溫度門檻值(例如第一溫度門檻值T1、第二溫度門檻值T2)時執行對應動作以有效地保護計算機系統免於損壞。In summary, the present disclosure can monitor the temperature T of the central processing unit 140 and perform corresponding actions when the temperature T is higher than a predetermined temperature threshold (eg, the first temperature threshold T1 and the second temperature threshold T2). Protect the computer system from damage.

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

為讓本揭示內容之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附符號之說明如下:The above and other objects, features, advantages and embodiments of the present disclosure will become more apparent and understood.

100‧‧‧溫度監控系統100‧‧‧ Temperature Monitoring System

110‧‧‧溫度感測裝置110‧‧‧Temperature sensing device

1101、1102、1301、1302‧‧‧腳位1101, 1102, 1301, 1302‧‧‧ feet

120‧‧‧邏輯裝置120‧‧‧Logical devices

130‧‧‧管理控制裝置130‧‧‧Management control device

140‧‧‧中央處理器140‧‧‧Central Processing Unit

200‧‧‧溫度監控方法200‧‧‧ Temperature monitoring method

S202~S218、S3042~S3046‧‧‧步驟S202~S218, S3042~S3046‧‧‧ steps

為了讓本發明之上述和其他目的、特徵、優點與實施例更明顯易懂,所附圖示之說明如下: 第1圖係說明本揭示內容一實施例之溫度監控系統示意圖; 第2圖係說明本揭示內容一實施例之溫度監控方法流程圖;以及 第3圖係說明第2圖流程圖之一子流程圖。The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; A flowchart of a temperature monitoring method according to an embodiment of the present disclosure; and a third flowchart illustrating a flowchart of the second flowchart.

100‧‧‧溫度監控系統 100‧‧‧ Temperature Monitoring System

110‧‧‧溫度感測裝置 110‧‧‧Temperature sensing device

1101、1102、1301、1302‧‧‧腳位 1101, 1102, 1301, 1302‧‧‧ feet

120‧‧‧邏輯裝置 120‧‧‧Logical devices

130‧‧‧管理控制裝置 130‧‧‧Management control device

140‧‧‧中央處理器 140‧‧‧Central Processing Unit

Claims (10)

一種溫度監控系統,包含:一溫度感測裝置,用以監測一計算機系統之一中央處理器之一溫度,以及設定一第一溫度門檻值與一第二溫度門檻值;一管理控制裝置,耦接該溫度感測裝置並用以判斷該溫度是否大於該第一溫度門檻值,並且當該溫度大於該第一溫度門檻值時,進一步判斷該溫度是否大於該第二溫度門檻值,其中該第二溫度門檻值大於該第一溫度門檻值;以及一邏輯裝置,耦接該管理控制裝置並用以控制該計算機系統開啟或關閉,其中當該溫度大於該第二溫度門檻值時,該管理控制裝置控制該邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之一電源按鈕,並且儲存一事件紀錄,其中該管理控制裝置更用以判斷該溫度大於該第一溫度門檻值並等待一第一預定時間後,第二次判斷該溫度是否大於該第一溫度門檻值,並且當第二次判斷該溫度大於該第一溫度門檻值時,進一步判斷該溫度是否大於該第二溫度門檻值。 A temperature monitoring system includes: a temperature sensing device for monitoring a temperature of a central processing unit of a computer system, and setting a first temperature threshold and a second temperature threshold; a management control device coupled The temperature sensing device is connected to determine whether the temperature is greater than the first temperature threshold, and when the temperature is greater than the first temperature threshold, further determining whether the temperature is greater than the second temperature threshold, wherein the second The temperature threshold is greater than the first temperature threshold; and a logic device coupled to the management control device for controlling the computer system to be turned on or off, wherein the management control device controls when the temperature is greater than the second temperature threshold The logic device forcibly shuts down the computer system, locks a power button of the computer system, and stores an event record, wherein the management control device is further configured to determine that the temperature is greater than the first temperature threshold and wait for a first predetermined time , determining whether the temperature is greater than the first temperature threshold for the second time, and determining the second time When the temperature is greater than the first threshold, further determines whether or not the temperature is greater than the second temperature threshold. 如請求項1所述之溫度監控系統,其中當該溫度大於該第一溫度門檻值並小於該第二溫度門檻值 時,該管理控制裝置控制該邏輯裝置執行該計算機系統之一關機程序,並控制一計時器開始計算一關機時間;當該管理控制裝置判斷該關機程序成功時,該管理控制裝置鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring system of claim 1, wherein the temperature is greater than the first temperature threshold and less than the second temperature threshold And the management control device controls the logic device to execute one of the computer system shutdown programs, and controls a timer to start calculating a shutdown time; when the management control device determines that the shutdown program is successful, the management control device locks the computer system The power button clears the shutdown time of the timer and stores the event record. 如請求項2所述之溫度監控系統,其中當該管理控制裝置判斷該關機程序失敗時,該管理控制裝置判斷該溫度是否大於該第二溫度門檻值,並且當該溫度大於該第二溫度門檻值時,該管理控制裝置控制該邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring system of claim 2, wherein when the management control device determines that the shutdown procedure fails, the management control device determines whether the temperature is greater than the second temperature threshold, and when the temperature is greater than the second temperature threshold At the time of the value, the management control device controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record. 如請求項2所述之溫度監控系統,其中當該管理控制裝置判斷該關機程序失敗時,該管理控制裝置判斷該關機時間是否大於一第二預定時間,並且當該關機時間大於該第二預定時間時,該管理控制裝置控制該邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring system of claim 2, wherein when the management control device determines that the shutdown program fails, the management control device determines whether the shutdown time is greater than a second predetermined time, and when the shutdown time is greater than the second predetermined At the time of time, the management control device controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record. 如請求項1所述之溫度監控系統,其中該溫度感測裝置更用以當偵測到該溫度大於該第一溫度門檻值時,將該溫度感測裝置之一第一腳位拉至一第一位準,當偵測到該溫度大於該第二溫度門檻值時,將該溫度感測裝置之一第二腳位拉至該第一位準,並且當偵測到該溫度 小於該第二溫度門檻值時,將該第二腳位拉至一第二位準;以及該管理控制裝置更用以當偵測到該第一腳位為該第一位準時,判斷該溫度大於該第一溫度門檻值,當偵測到該第二腳位為該第一位準時,判斷該溫度大於該第二溫度門檻值,並且當偵測到該第二腳位為該第二位準時,判斷該溫度小於該第二溫度門檻值。 The temperature monitoring system of claim 1, wherein the temperature sensing device is further configured to: when the temperature is greater than the first temperature threshold, pull the first pin of the temperature sensing device to a first position First, when detecting that the temperature is greater than the second temperature threshold, the second pin of one of the temperature sensing devices is pulled to the first level, and when the temperature is detected When the second temperature threshold is less than the second temperature threshold, the second pin is pulled to a second level; and the management control device is further configured to determine the temperature when the first pin is detected as the first level If the second level is greater than the first temperature threshold, when the second level is detected as the first level, the temperature is determined to be greater than the second temperature threshold, and when the second position is detected as the second position On time, it is judged that the temperature is less than the second temperature threshold. 一種溫度監控方法,包含:透過一溫度感測裝置,監測一計算機系統之一中央處理器之一溫度,以及設定一第一溫度門檻值與一第二溫度門檻值;透過一管理控制裝置,判斷該溫度是否大於該第一溫度門檻值;當該溫度大於該第一溫度門檻值時,透過該管理控制裝置進一步判斷該溫度是否大於該第二溫度門檻值,其中該第二溫度門檻值大於該第一溫度門檻值;以及當該溫度大於該第二溫度門檻值時,透過該管理控制裝置控制一邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之一電源按鈕,並且儲存一事件紀錄,其中判斷該溫度是否大於該第一溫度門檻值的步驟更包含:透過該管理控制裝置,判斷該溫度大於該第一溫度門檻值並等待一第一預定時間後,第二次判斷該溫度是否大於該第一溫度門檻值;以及 當第二次判斷該溫度大於該第一溫度門檻值時,透過該管理控制裝置進一步判斷該溫度是否大於該第二溫度門檻值。 A temperature monitoring method includes: monitoring a temperature of a central processing unit of a computer system through a temperature sensing device, and setting a first temperature threshold and a second temperature threshold; and determining by a management control device Whether the temperature is greater than the first temperature threshold; when the temperature is greater than the first temperature threshold, the management control device further determines whether the temperature is greater than the second temperature threshold, wherein the second temperature threshold is greater than the a first temperature threshold; and when the temperature is greater than the second temperature threshold, controlling, by the management control device, a logic device to forcibly shut down the computer system, locking a power button of the computer system, and storing an event record, wherein The step of determining whether the temperature is greater than the first temperature threshold further comprises: determining, by the management control device, that the temperature is greater than the first temperature threshold and waiting for a first predetermined time, determining whether the temperature is greater than the second time First temperature threshold; and When it is determined that the temperature is greater than the first temperature threshold for the second time, it is further determined by the management control device whether the temperature is greater than the second temperature threshold. 如請求項6所述之溫度監控方法,更包含:當該溫度大於該第一溫度門檻值並小於該第二溫度門檻值時,透過該管理控制裝置控制該邏輯裝置執行該計算機系統之一關機程序,並控制一計時器開始計算一關機時間;以及當該管理控制裝置判斷該關機程序成功時,透過該管理控制裝置鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring method of claim 6, further comprising: when the temperature is greater than the first temperature threshold and less than the second temperature threshold, controlling, by the management control device, the logic device to perform shutdown of one of the computer systems a program, and controlling a timer to start calculating a shutdown time; and when the management control device determines that the shutdown program is successful, locking the power button of the computer system through the management control device, clearing the shutdown time of the timer, and Store the event record. 如請求項7所述之溫度監控方法,更包含:當該管理控制裝置判斷該關機程序失敗時,透過該管理控制裝置判斷該溫度是否大於該第二溫度門檻值;以及當該溫度大於該第二溫度門檻值時,透過該管理控制裝置控制該邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring method of claim 7, further comprising: when the management control device determines that the shutdown procedure fails, determining, by the management control device, whether the temperature is greater than the second temperature threshold; and when the temperature is greater than the first When the temperature threshold is reached, the logic device is controlled by the management control device to forcibly shut down the computer system, lock the power button of the computer system, clear the shutdown time of the timer, and store the event record. 如請求項7所述之溫度監控方法,更包含:當該管理控制裝置判斷該關機程序失敗時,透過該管理控制裝置判斷該關機時間是否大於一第二預定時間;以及 當該關機時間大於該第二預定時間時,透過該管理控制裝置控制該邏輯裝置強制關閉該計算機系統,鎖定該計算機系統之該電源按鈕,清除該計時器之該關機時間,並且儲存該事件紀錄。 The temperature monitoring method of claim 7, further comprising: when the management control device determines that the shutdown program fails, determining, by the management control device, whether the shutdown time is greater than a second predetermined time; When the shutdown time is greater than the second predetermined time, the logic device controls the logic device to forcibly shut down the computer system, locks the power button of the computer system, clears the shutdown time of the timer, and stores the event record. . 如請求項6所述之溫度監控方法,更包含:透過該溫度感測裝置,當偵測到該溫度大於該第一溫度門檻值時,將該溫度感測裝置之一第一腳位拉至一第一位準,當偵測到該溫度大於該第二溫度門檻值時,將該溫度感測裝置之一第二腳位拉至該第一位準,並且當偵測到該溫度小於該第二溫度門檻值時,將該第二腳位拉至一第二位準;以及透過該管理控制裝置,當偵測到該第一腳位為該第一位準時,判斷該溫度大於該第一溫度門檻值,當偵測到該第二腳位為該第一位準時,判斷該溫度大於該第二溫度門檻值,並且當偵測到該第二腳位為該第二位準時,判斷該溫度小於該第二溫度門檻值。The temperature monitoring method of claim 6, further comprising: through the temperature sensing device, when detecting that the temperature is greater than the first temperature threshold, pulling the first pin of the temperature sensing device to a first level, when detecting that the temperature is greater than the second temperature threshold, pulling the second pin of one of the temperature sensing devices to the first level, and detecting that the temperature is less than the When the second temperature threshold is reached, the second pin is pulled to a second level; and the management control device is configured to determine that the temperature is greater than the first pin when the first pin is detected as the first level a temperature threshold value, when detecting that the second pin is the first level, determining that the temperature is greater than the second temperature threshold, and determining that the second pin is the second level, determining The temperature is less than the second temperature threshold.
TW105131802A 2016-09-30 2016-09-30 Temperature monitoring system and temperature monitoring method TWI596470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105131802A TWI596470B (en) 2016-09-30 2016-09-30 Temperature monitoring system and temperature monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105131802A TWI596470B (en) 2016-09-30 2016-09-30 Temperature monitoring system and temperature monitoring method

Publications (2)

Publication Number Publication Date
TWI596470B true TWI596470B (en) 2017-08-21
TW201812587A TW201812587A (en) 2018-04-01

Family

ID=60189384

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105131802A TWI596470B (en) 2016-09-30 2016-09-30 Temperature monitoring system and temperature monitoring method

Country Status (1)

Country Link
TW (1) TWI596470B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306786A (en) * 2019-07-23 2021-02-02 环达电脑(上海)有限公司 Safety temperature control method and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200708918A (en) * 2005-08-31 2007-03-01 Giga Byte Tech Co Ltd Apparatus and method for raising performance of processor under temperature limitation
TW201019103A (en) * 2008-11-10 2010-05-16 Inventec Corp Test method for testing a monitoring unit, and server and computer system thereof
US20130173082A1 (en) * 1993-09-21 2013-07-04 Intel Corporation Method and apparatus for programmable thermal sensor for an integrated circuit
US20140028377A1 (en) * 2012-07-26 2014-01-30 Qualcomm Incorporated Autonomous thermal controller for power management ic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130173082A1 (en) * 1993-09-21 2013-07-04 Intel Corporation Method and apparatus for programmable thermal sensor for an integrated circuit
TW200708918A (en) * 2005-08-31 2007-03-01 Giga Byte Tech Co Ltd Apparatus and method for raising performance of processor under temperature limitation
TW201019103A (en) * 2008-11-10 2010-05-16 Inventec Corp Test method for testing a monitoring unit, and server and computer system thereof
US20140028377A1 (en) * 2012-07-26 2014-01-30 Qualcomm Incorporated Autonomous thermal controller for power management ic

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306786A (en) * 2019-07-23 2021-02-02 环达电脑(上海)有限公司 Safety temperature control method and server

Also Published As

Publication number Publication date
TW201812587A (en) 2018-04-01

Similar Documents

Publication Publication Date Title
US10725509B2 (en) Processor monitoring of thermal degradation
CN109539474B (en) Air conditioner control method and device
TWI596470B (en) Temperature monitoring system and temperature monitoring method
TWI668567B (en) Server and method for restoring a baseboard management controller automatically
US20150154091A1 (en) Bios maintenance method
US10203734B2 (en) Temperature monitoring system and temperature monitoring method
JP6955858B2 (en) Control device
US20140321014A1 (en) Power distribution method, power distribution apparatus, and information handling system
US20140379162A1 (en) Server system and monitoring method
KR101436623B1 (en) Apparatus and method for detecting vehicle controller shut down module error and fail safe
TWI710895B (en) Method for controlling fan in electronic system
US11204634B2 (en) Power monitoring and reduction
TWI700583B (en) Servo method, servo system, main board and computer readable storage medium
US20170168757A1 (en) Semiconductor device and memory access control method
CN107179911A (en) A kind of method and apparatus for restarting management engine
CN110781517B (en) Method for realizing data interaction by BIOS and BMC communication
JP2004302847A (en) Method for monitoring operation of cpu
US11267122B2 (en) Robot control device, robot system, and method of controlling robot
JP2007265157A (en) System and method for detecting fault of i/o device
TWI626539B (en) Computer System Error Warning Method
TW201814429A (en) System for controlling computer power
TWI537721B (en) Baseboard management control system and method
CN103902416A (en) Method of detecting installation conditions of radiator and data processing device
US11269637B2 (en) Validating machine-readable instructions using an iterative validation process
JP2018169919A (en) Temperature controller and information processor