TWI811640B - Method for temperature protection of storage device and computer program product - Google Patents
Method for temperature protection of storage device and computer program product Download PDFInfo
- Publication number
- TWI811640B TWI811640B TW110107263A TW110107263A TWI811640B TW I811640 B TWI811640 B TW I811640B TW 110107263 A TW110107263 A TW 110107263A TW 110107263 A TW110107263 A TW 110107263A TW I811640 B TWI811640 B TW I811640B
- Authority
- TW
- Taiwan
- Prior art keywords
- temperature
- storage device
- history record
- temperature protection
- predetermined number
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004590 computer program Methods 0.000 title claims description 14
- 238000001514 detection method Methods 0.000 claims description 39
- 230000002596 correlated effect Effects 0.000 claims 2
- 230000000694 effects Effects 0.000 description 6
- 238000001816 cooling Methods 0.000 description 5
- 230000007423 decrease Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000017525 heat dissipation Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000010259 detection of temperature stimulus Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Control Of Temperature (AREA)
Abstract
Description
本發明係有關於儲存裝置之溫度保護,且特別係有關於依據溫度歷程記錄進行智能補償之溫度保護機制。The present invention relates to temperature protection of storage devices, and in particular to a temperature protection mechanism that performs intelligent compensation based on temperature history records.
儲存裝置的溫度過高,會產生許多不良的影響。例如,可能會導致效能降低、硬體損壞、資料毀損等問題,也可能會使環境溫度上升而一併影響到周邊之硬體。If the temperature of the storage device is too high, it will have many adverse effects. For example, it may cause performance degradation, hardware damage, data corruption and other problems. It may also increase the ambient temperature and affect surrounding hardware.
在現行儲存裝置溫度保護方法中,有一種方法是以固定的偵測週期檢查儲存裝置的溫度,在儲存裝置的溫度連續超出溫度保護閥值一既定次數後,即啟動溫度保護機制,使儲存裝置進入節流(Throttling)模式,以降低儲存裝置之溫度。Among the current storage device temperature protection methods, one method is to check the temperature of the storage device with a fixed detection cycle. After the temperature of the storage device continuously exceeds the temperature protection threshold for a predetermined number of times, the temperature protection mechanism is activated to cause the storage device to Enter throttling mode to lower the temperature of the storage device.
然而,這樣的方法無法針對不同執行環境與不同散熱條件的電腦平台進行調整,而可能導致一些平台的降溫效果不理想,平台效能持續低落。However, this method cannot be adjusted for computer platforms with different execution environments and different heat dissipation conditions, and may result in unsatisfactory cooling effects on some platforms and continued decline in platform performance.
舉例而言,假設將所有電腦平台的溫度保護閥值設定為60℃,且同樣地設定為定期每五分鐘測量一次溫度,若測量溫度超過溫度保護閥值3次則啟動溫度保護機制。即使其中一些電腦平台在上述相同之溫度保護設定下,可以成功抑制溫度,保持較佳的電腦效能,但是在一些執行環境較嚴苛,或者散熱條件較不佳的電腦平台上,也可能會因為上述相同溫度保護設定不適合這些平台,錯過開始降溫的最佳時機。For example, assume that the temperature protection threshold of all computer platforms is set to 60°C, and is also set to regularly measure the temperature every five minutes. If the measured temperature exceeds the temperature protection threshold three times, the temperature protection mechanism is activated. Even if some of these computer platforms can successfully suppress the temperature and maintain better computer performance under the same temperature protection settings as mentioned above, on some computer platforms with harsher execution environments or poor heat dissipation conditions, problems may occur due to The same temperature protection settings mentioned above are not suitable for these platforms, missing the best opportunity to start cooling down.
在溫度上升到一定程度後,即使隨後啟動溫度保護機制,反應過慢的溫度保護機制仍然可能會來不及將溫度降到正常的範圍內,而使得溫度保護機制需要長時間被啟動,導致電腦長時間處於效能不佳的狀態。After the temperature rises to a certain level, even if the temperature protection mechanism is subsequently activated, the temperature protection mechanism that responds too slowly may still be too late to lower the temperature to a normal range, causing the temperature protection mechanism to take a long time to be activated, causing the computer to take a long time. In a state of poor performance.
有鑑於此,本發明欲提出一種儲存裝置之溫度保護方法,可以紀錄上述定期檢查之儲存裝置之溫度,做成溫度歷程記錄,並在記錄一段時間後,利用該溫度歷程記錄調整溫度保護機制的啟用時機,以使各個不同平台可以發揮更佳的效能。In view of this, the present invention intends to propose a temperature protection method for a storage device, which can record the temperature of the regularly inspected storage device and make a temperature history record. After recording for a period of time, the temperature history record can be used to adjust the temperature protection mechanism. Enable timing so that different platforms can perform better.
關於本發明之一種儲存裝置之溫度保護方法,包括:依據該儲存裝置的溫度歷程記錄,設定溫度保護閥值;週期性地偵測該儲存裝置的溫度,將該偵測所得之溫度資料保存在溫度歷程記錄中;以及當偵測到該儲存裝置的溫度連續超出該溫度保護閥值一既定次數,則啟動該儲存裝置的溫度保護機制。Regarding the temperature protection method of a storage device of the present invention, it includes: setting a temperature protection threshold based on the temperature history record of the storage device; periodically detecting the temperature of the storage device, and storing the detected temperature data in The temperature history is being recorded; and when it is detected that the temperature of the storage device continuously exceeds the temperature protection threshold for a predetermined number of times, the temperature protection mechanism of the storage device is activated.
關於本發明之一種電腦程式產品,經由電腦載入該程式執行:第一程式指令,使一處理器依據一儲存裝置的溫度歷程記錄,設定溫度保護閥值;第二程式指令,使該處理器週期性地偵測該儲存裝置的溫度;以及第三程式指令,當該處理器偵測到該儲存裝置的溫度連續超出該溫度保護閥值一既定次數,則啟動該儲存裝置的溫度保護機制。Regarding a computer program product of the present invention, the program is loaded into a computer and executed: the first program instruction causes a processor to set a temperature protection threshold based on the temperature history record of a storage device; the second program instruction causes the processor to Detect the temperature of the storage device periodically; and a third program instruction is to activate the temperature protection mechanism of the storage device when the processor detects that the temperature of the storage device continuously exceeds the temperature protection threshold for a predetermined number of times.
本發明有多種實作方式,接下來將搭配圖式詳細說明具代表性的實施例。這些舉出的描繪例示是為了向讀者介紹此處討論的一般主題,並非意圖限制揭露概念之範圍。下述段落參照圖式描述多種附加特徵和例示,其中相同數字標示相同元件。說明的實施方式,不應被用以限制本揭露。本文包含的元件可能未依比例繪製。The present invention has various implementation modes, and representative embodiments will be described in detail with reference to the drawings. These descriptive examples are given to introduce the reader to the general topics discussed here and are not intended to limit the scope of the concept of disclosure. Various additional features and examples are described in the following paragraphs with reference to the drawings, wherein like numerals designate like elements. The illustrated embodiments should not be used to limit the present disclosure. Components contained in this article may not be drawn to scale.
本發明之保護範圍由申請專利範圍定義,說明書中所舉例之實施方式與圖式僅為本發明之原理的示範或示意圖,並非意圖將本發明侷限於實施例之中。本領域具有通常知識者,在不違背本發明精神和範圍的情況下,可作些許變動與替代。本發明所揭露之步驟無一定的順序關係,亦不限定僅能執行一次,可視實作的方式調整步驟之順序。The protection scope of the present invention is defined by the patent application scope. The embodiments and drawings illustrated in the description are only examples or schematic diagrams of the principles of the present invention, and are not intended to limit the present invention to the embodiments. Those with ordinary knowledge in the art may make some changes and substitutions without departing from the spirit and scope of the present invention. The steps disclosed in the present invention do not have a certain sequence relationship, nor are they limited to being executed only once. The order of the steps can be adjusted according to the implementation method.
關於本發明之一種儲存裝置之溫度保護方法的一種實施例之步驟流程圖如第1圖所示。在本發明的儲存裝置之溫度保護方法中,會先以一預設的週期偵測儲存裝置之溫度(步驟S11)。例如,預設的週期可以是每5分鐘進行一次溫度偵測,或者是每3分鐘進行一次溫度偵測。A step flow chart of an embodiment of a temperature protection method for a storage device according to the present invention is shown in Figure 1. In the temperature protection method of the storage device of the present invention, the temperature of the storage device is first detected in a preset period (step S11). For example, the preset cycle may be to perform temperature detection every 5 minutes, or to perform temperature detection every 3 minutes.
偵測儲存裝置之溫度的具體作法,可以利用現有之技術。例如,可以讓CPU讀取儲存裝置內建的溫度感測器,或者在儲存裝置的特定部位放置溫度感測器,並使CPU可以讀取溫度感測器之輸出資訊。The specific method of detecting the temperature of the storage device can utilize existing technology. For example, the CPU can be allowed to read the temperature sensor built into the storage device, or a temperature sensor can be placed in a specific location of the storage device, and the CPU can read the output information of the temperature sensor.
每一次週期性地偵測溫度所得到的結果,皆會記錄在溫度歷程記錄中(步驟S14)。該溫度歷程記錄,可以是儲存在儲存裝置中的一記錄檔或日誌,儲存一段時間內之測量溫度之結果。例如,每次偵測溫度後,CPU會更新儲存於儲存裝置中的溫度歷程記錄,將最新的偵測溫度的結果新增到溫度歷程記錄之中。The results of each periodic temperature detection will be recorded in the temperature history record (step S14). The temperature history record may be a record file or log stored in a storage device, which stores the results of temperature measurement over a period of time. For example, each time the temperature is detected, the CPU will update the temperature history record stored in the storage device and add the latest temperature detection result to the temperature history record.
尚未依據溫度歷程記錄設定溫度保護閥值(步驟S15)之前,溫度保護閥值可以為一預設值,例如可以是60°C,或任何其他合適之溫度。尚未依據溫度歷程記錄設定既定次數(步驟S15)之前,既定次數可以為一預設值,例如可以是3次,或任何其他合適之次數。尚未依據溫度歷程記錄設定偵測週期(步驟S15)之前,偵測週期可以為一預設值,例如可以是5分鐘,或任何其他合適之時間。依據溫度歷程記錄設定溫度保護閥值、既定次數、及/或偵測週期的方法(步驟S15),將於下方詳述。Before the temperature protection threshold is set according to the temperature history record (step S15), the temperature protection threshold may be a preset value, such as 60°C, or any other suitable temperature. Before setting the predetermined number of times according to the temperature history record (step S15), the predetermined number of times may be a preset value, such as 3 times, or any other suitable number of times. Before the detection period is set according to the temperature history record (step S15), the detection period may be a preset value, such as 5 minutes, or any other suitable time. The method of setting the temperature protection threshold, the predetermined number of times, and/or the detection period based on the temperature history record (step S15) will be described in detail below.
除此之外,每一次週期性地偵測溫度(步驟S11)後,亦會判斷偵測溫度是否連續超出溫度保護閥值一既定次數(步驟S12)。若判斷偵測溫度沒有連續超出溫度保護閥值一既定次數(步驟S12:否),則不啟動溫度保護機制,繼續週期性地偵測溫度(步驟S11)。In addition, after each periodic temperature detection (step S11), it will also be determined whether the detected temperature has continuously exceeded the temperature protection threshold for a predetermined number of times (step S12). If it is determined that the detected temperature has not continuously exceeded the temperature protection threshold for a predetermined number of times (step S12: No), the temperature protection mechanism will not be activated and the temperature will continue to be detected periodically (step S11).
若偵測溫度連續超出溫度保護閥值到達一既定次數,則啟動溫度保護機制(步驟S13),且週期性地偵測溫度(步驟S11)以及將偵測溫度存入溫度歷程記錄(步驟S14)仍持續進行。上述啟動儲存裝置之溫度保護機制,可以利用現有之方法。例如,使儲存裝置進入節流(Throttling)模式。If the detected temperature continuously exceeds the temperature protection threshold for a predetermined number of times, the temperature protection mechanism is activated (step S13), the temperature is detected periodically (step S11), and the detected temperature is stored in the temperature history record (step S14) Still ongoing. The above-mentioned temperature protection mechanism for activating the storage device can utilize existing methods. For example, the storage device enters throttling mode.
在溫度歷程記錄累積一段期間後,例如,將偵測溫度存入溫度歷程記錄(步驟S14)持續30日後,可以依據溫度歷程記錄,設定溫度保護方法(步驟S15),設定溫度保護方法包括設定溫度保護閥值、設定偵測週期、及/或設定超出溫度保護閥值之既定次數。After the temperature history record is accumulated for a period of time, for example, after the detected temperature is stored in the temperature history record (step S14) for 30 days, the temperature protection method can be set based on the temperature history record (step S15). Setting the temperature protection method includes setting the temperature. Protection threshold, set detection period, and/or set a predetermined number of times exceeding the temperature protection threshold.
前述依據溫度歷程記錄設定溫度保護方法的方式可以有很多種,例如,可以依據溫度歷程記錄之平均溫度進行上述溫度保護閥值、上述偵測週期、及/或上述既定次數之設定。也可以依據現有的分析技術,對溫度歷程記錄進行統計分析後,得到較佳之上述溫度保護閥值、上述偵測週期、及/或上述既定次數,以進行設定。There are many ways to set the temperature protection method based on the temperature history record. For example, the temperature protection threshold, the detection period, and/or the predetermined number of times can be set based on the average temperature of the temperature history record. It is also possible to perform statistical analysis on the temperature history records based on existing analysis techniques to obtain the better temperature protection threshold, the detection period, and/or the predetermined number of times for setting.
其中一種溫度保護方法之設定方式,如下列之表1所示。
若溫度歷程記錄中,一段期間之溫度歷程記錄之平均溫度小於40°C,表示該平台對原本的溫度保護方法適應良好,因此,可以將溫度保護閥值之設定繼續保持為預設之60°C,既定次數之設定繼續保持為預設之3次,偵測週期之設定繼續保持為預設之5分鐘。If in the temperature history record, the average temperature of the temperature history record over a period of time is less than 40°C, it means that the platform is well adapted to the original temperature protection method. Therefore, the temperature protection threshold setting can continue to be maintained at the default 60°C. C. The setting of the specified number of times continues to be the default 3 times, and the setting of the detection period continues to be the default 5 minutes.
若溫度歷程記錄中,一段前間之溫度歷程記錄之平均溫度介於40°C至50°C之間,則將溫度保護閥值稍微向下調整,設定為50°C,以使溫度保護機制更快啟動,達到即早降溫以保持電腦效能之效果。在此實施例中,既定次數以及偵測週期之設定仍可以維持預設值。在一些其他的實施例中,也可以同步調整既定次數以及偵測週期。If in the temperature history record, the average temperature of the previous temperature history record is between 40°C and 50°C, adjust the temperature protection threshold slightly downward and set it to 50°C to enable the temperature protection mechanism. Starts up faster and cools down immediately to maintain computer performance. In this embodiment, the settings of the predetermined number of times and the detection period can still maintain the default values. In some other embodiments, the predetermined number of times and the detection period can also be adjusted synchronously.
若溫度歷程記錄中,一段時間之溫度歷程記錄之平均溫度介於50至60°C之間,則將溫度保護閥值向下調整為更低的45°C,並將既定次數設定為2次,使溫度保護機制更快啟動。If in the temperature history record, the average temperature of the temperature history record over a period of time is between 50 and 60°C, adjust the temperature protection threshold downward to a lower 45°C, and set the predetermined number of times to 2 , so that the temperature protection mechanism starts faster.
若溫度歷程記錄中,一段時間之平均溫度高於60°C,則將溫度保護閥值設定為40°C,以期達到快速降溫的效果,避免溫度一旦飆高,則需長時間啟用溫度保護機制,導致效能下降之情形。If in the temperature history record, the average temperature over a period of time is higher than 60°C, the temperature protection threshold is set to 40°C in order to achieve a rapid cooling effect and avoid the need to activate the temperature protection mechanism for a long time once the temperature soars. , leading to a decrease in performance.
另一種溫度保護方法之設定方式如下列之表2所示。
如表2所示,在此方法中,既定次數皆保持為預設之3次,不進行調整。但是在溫度歷程記錄的平均溫度增加的情況下,會設定使偵測週期漸漸縮短。如此一來,在平台之溫度歷程記錄之平均溫度較高時,由於設定之偵測週期變得較短,使得後續偵測到溫度超過既定次數的時間縮短,亦能達到提早偵測到溫度過高並啟動溫度保護機制的效果。若溫度歷程記錄中,一段期間之溫度歷程記錄之平均溫度小於40°C,表示該平台對原本的溫度保護方法適應良好,因此,可以將溫度保護閥值之設定繼續保持預設之60°C,既定次數之設定繼續保持預設之3次,偵測週期之設定可以繼續保持預設之5分鐘。As shown in Table 2, in this method, the set times are kept at the default 3 times without adjustment. However, when the average temperature recorded in the temperature history increases, the detection period will be gradually shortened. In this way, when the average temperature recorded in the temperature history of the platform is higher, the set detection period becomes shorter, which shortens the time for subsequent detection of the temperature exceeding the predetermined number of times, and enables early detection of temperature overshoots. high and activate the effect of the temperature protection mechanism. If in the temperature history record, the average temperature of the temperature history record over a period of time is less than 40°C, it means that the platform is well adapted to the original temperature protection method. Therefore, the temperature protection threshold setting can continue to be maintained at the default 60°C. , the setting of the predetermined number of times can continue to maintain the default 3 times, and the setting of the detection period can continue to maintain the default 5 minutes.
若溫度歷程記錄中,一段前間之溫度歷程記錄之平均溫度介於40°C至50°C之間,則將溫度保護閥值稍微向下調整,設定為50°C,以使溫度保護機制更快啟動,達到即早降溫以保持電腦效能之效果。在此實施例中,既定次數以及偵測週期之設定仍可以維持預設值。If in the temperature history record, the average temperature of the previous temperature history record is between 40°C and 50°C, adjust the temperature protection threshold slightly downward and set it to 50°C to enable the temperature protection mechanism. Starts up faster and cools down immediately to maintain computer performance. In this embodiment, the settings of the predetermined number of times and the detection period can still maintain the default values.
若溫度歷程記錄中,一段時間之溫度歷程記錄之平均溫度介於50至60°C之間,則將溫度保護閥值向下調整為更低的45°C,並將偵測週期設定為3分鐘,使溫度保護機制更快啟動。If the average temperature of the temperature history record over a period of time is between 50 and 60°C, adjust the temperature protection threshold downward to a lower 45°C and set the detection period to 3 minutes to enable the temperature protection mechanism to activate faster.
若溫度歷程記錄中,一段時間之平均溫度高於60°C,則將溫度保護閥值設定為40°C,以期達到快速降溫的效果,避免溫度一旦飆高,則需長時間啟用溫度保護機制,導致效能下降之情形。If in the temperature history record, the average temperature over a period of time is higher than 60°C, the temperature protection threshold is set to 40°C in order to achieve a rapid cooling effect and avoid the need to activate the temperature protection mechanism for a long time once the temperature soars. , leading to a decrease in performance.
另一種溫度保護方法之設定方式如下列之表3所示。
在表3的實施例中,溫度保護閥值、既定次數以及偵測週期皆會依據溫度歷程記錄中之平均溫度進行調整。In the embodiment shown in Table 3, the temperature protection threshold, the predetermined number of times, and the detection period are all adjusted based on the average temperature in the temperature history record.
若溫度歷程記錄中,一段期間之溫度歷程記錄之平均溫度小於40°C,表示該平台對原本的溫度保護方法適應良好,因此,可以將溫度保護閥值之設定繼續保持預設之60°C,既定次數之設定繼續保持預設之3次,偵測週期之設定可以繼續保持預設之5分鐘。If in the temperature history record, the average temperature of the temperature history record over a period of time is less than 40°C, it means that the platform is well adapted to the original temperature protection method. Therefore, the temperature protection threshold setting can continue to be maintained at the default 60°C. , the setting of the predetermined number of times can continue to maintain the default 3 times, and the setting of the detection period can continue to maintain the default 5 minutes.
若溫度歷程記錄中,一段前間之溫度歷程記錄之平均溫度介於40°C至50°C之間,則將溫度保護閥值稍微向下調整,設定為50°C,以使溫度保護機制更快啟動,達到即早降溫以保持電腦效能之效果。在此實施例中,既定次數以及偵測週期之設定仍可以維持預設值。If in the temperature history record, the average temperature of the previous temperature history record is between 40°C and 50°C, adjust the temperature protection threshold slightly downward and set it to 50°C to enable the temperature protection mechanism. Starts up faster and cools down immediately to maintain computer performance. In this embodiment, the settings of the predetermined number of times and the detection period can still maintain the default values.
若溫度歷程記錄中,一段時間之溫度歷程記錄之平均溫度介於50至60°C之間,則將溫度保護閥值向下調整為更低的45°C,並將偵測週期設定為3分鐘,使溫度保護機制更快啟動。If the average temperature of the temperature history record over a period of time is between 50 and 60°C, adjust the temperature protection threshold downward to a lower 45°C and set the detection period to 3 minutes to enable the temperature protection mechanism to activate faster.
若溫度歷程記錄中,一段時間之平均溫度高於60°C,則將溫度保護閥值設定為45°C,並將既定次數設定為2次,將偵測週期設定為3分鐘,以期達到快速降溫的效果,避免溫度一旦飆高,則需長時間啟用溫度保護機制,導致效能下降之情形。If in the temperature history recording, the average temperature for a period of time is higher than 60°C, set the temperature protection threshold to 45°C, set the predetermined number of times to 2, and set the detection cycle to 3 minutes in order to achieve rapid The cooling effect prevents the temperature protection mechanism from being activated for a long time once the temperature soars, resulting in a decrease in performance.
上述溫度保護閥值、既定次數、及偵測週期之調整方式不限於此,亦不限於依據溫度歷程記錄之平均值進行調整,其溫度保護閥值、既定次數、及偵測週期之數值可以依據溫度歷程記錄之分析結果進行各種的設定。The above-mentioned adjustment methods of the temperature protection threshold, predetermined times, and detection periods are not limited to this, nor are they limited to adjustment based on the average value of the temperature history records. The values of the temperature protection threshold, predetermined times, and detection periods can be based on Various settings can be made for the analysis results of temperature history records.
舉例而言,上述溫度保護閥值、既定次數、及偵測週期之調整,可以依據溫度歷程記錄之眾數、最大值、最小值、或其他任何經過計算之數值進行調整。在一些特殊的實施例中,也可以將溫度歷程記錄中的數值藉由數學模型進行計算,以進行溫度保護方式之設定。For example, the above-mentioned adjustment of the temperature protection threshold, predetermined times, and detection period can be adjusted based on the mode, maximum value, minimum value, or any other calculated value of the temperature history record. In some special embodiments, the values in the temperature history record can also be calculated through mathematical models to set the temperature protection mode.
關於本發明之一種電腦程式產品的一種實施例之方塊圖如第2圖所示。第2圖顯示一電腦系統1,包含CPU 11、儲存裝置12、溫度感測器13、以及有關於本發明之電腦程式P。該電腦程式P可以事先儲存於儲存裝置12中,由CPU 11載入並執行。或者,該電腦程式P也可以事先儲存於光碟、ROM…等電腦可讀取媒體。CPU載入該電腦程式的時間,可以由使用者命令,也可以在開機時自動執行。A block diagram of an embodiment of a computer program product of the present invention is shown in Figure 2. Figure 2 shows a
電腦程式指令P,包含第一程式指令、第二程式指令、以及第三程式指令。溫度感測器13可以緊鄰儲存裝置12,以偵測儲存裝置12的表面溫度,並將偵測結果輸出至CPU 11。在另一些實施例中,溫度感測器13可以內建於儲存裝置12中,CPU 11可以藉由與儲存裝置12通訊取得偵測溫度。The computer program instruction P includes a first program instruction, a second program instruction, and a third program instruction. The
在第2圖的實施例中,CPU 11載入電腦程式P後,第一程式指令指示CPU 11讀取儲存於儲存裝置12的溫度歷程記錄,並依據溫度歷程記錄中記錄之數值,設定溫度保護閥值。依據溫度歷程記錄設定溫度保護閥值的方法例,如上述段落[0020]所述。In the embodiment of Figure 2, after the
在另一種實施例中,CPU 11讀取溫度歷程記錄時,會判斷該溫度歷程記錄是否已紀錄滿一定期間,例如,判斷是否保存最近一個月期間內之溫度資料紀錄。若判斷溫度歷程記錄已記錄滿一定期間,則依據溫度歷程記錄中記錄之數值,設定溫度保護閥值。若判斷溫度歷程記錄未記錄滿一定期間,則將溫度保護閥值設定為預設值。該預設值可以包含於第一程式指令之中。In another embodiment, when the
第二程式指令指示CPU 11週期性地偵測該儲存裝置的溫度。此時,CPU 11會以一固定週期,讀取溫度感測器13之溫度資料,並將偵測到的溫度資料儲存於溫度歷程記錄之中。The second program instruction instructs the
每次偵測溫度後,第三程式指令會指示CPU 11判斷該儲存裝置12的溫度是否連續超出該溫度保護閥值一既定次數。假設在第2圖的例子中,既定次數為3次。若該儲存裝置12的溫度未連續超出該溫度保護閥值3次,則不啟動溫度保護機制,繼續執行其他指令。若若該儲存裝置12的溫度連續超出該溫度保護閥值3次,則啟動溫度保護機制,使儲存裝置12降溫。After each temperature detection, the third program instruction instructs the
在一些實施例中,該電腦程式P可以更進一步地包含第四程式指令以及第五程式指令。第四程式指令可以依據該溫度歷程記錄,設定偵測之週期。第五程式指令,可以使該處理器依據該溫度歷程記錄,設定既定次數。在一些實施例中,第四程式指令以及第五程式指令可以包含在第二程式指令之中。In some embodiments, the computer program P may further include fourth program instructions and fifth program instructions. The fourth program command can set the detection cycle based on the temperature history record. The fifth program instruction can cause the processor to set a predetermined number of times based on the temperature history record. In some embodiments, the fourth program instruction and the fifth program instruction may be included in the second program instruction.
儘管本發明已描繪及描述關於一個或更多實施方式如上,然而其並非用以限定本創作的範圍,本領域具通常知識者在閱讀及理解本說明書及隨付之圖式時,可以想到或得知其等效改造以及變更,在不脫離本創作之精神和範圍內,當可做些許的更動與潤飾。Although the present invention has been illustrated and described above with respect to one or more embodiments, this is not intended to limit the scope of the present invention. A person of ordinary skill in the art may expect or Knowing its equivalent modifications and changes, some modifications and embellishments can be made without departing from the spirit and scope of this creation.
本文所使用之術語僅為了描述特定實施例,並非意圖侷限本發明。在此使用之「一」、「一個」、「該」等單數形式用語,除非內文清楚指明,否則亦含有複數形式之意。更進一步地說,在實施方式及/或申請專利範圍中使用「含有」、「具有」、「附屬之」、或上述用詞之變形,該等用詞皆有包容之意,用意類似「包含」一詞。The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular forms of terms such as "a", "an" and "the" used herein also contain the plural form unless the context clearly indicates otherwise. Furthermore, when the words "contains", "having", "affiliated", or variations of the above words are used in the embodiments and/or patent application scope, these words have an inclusive meaning, and their meaning is similar to "includes". ” word.
此外,雖然本發明之特定特徵可能僅以關於多個實施方式中的一個揭露,應理解,任何範例之一個或更多特徵可以被與另一個範例之一個或多個結合。任何範例中之單一特徵或結合之特徵可以構成更進一步之範例。Furthermore, while specific features of the invention may be disclosed with respect to only one of the various embodiments, it is to be understood that one or more features of any example may be combined with one or more features of another example. Features of any example, either singly or combined, may constitute further examples.
除非特別定義,本文使用的所有術語(包括技術及科學術語)皆與領域中具有通常知識者所普遍理解之意思一致。更進一步地,理解專業術語時須與內文之相關領域之字義一致,如普遍使用之字典所定義一般,且除非內文明確地定義,否則不應以理想化或過於形式化之方式解釋。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. Furthermore, the understanding of technical terms must be consistent with the meaning of the words in the relevant field of the context, as defined in commonly used dictionaries, and should not be interpreted in an idealized or overly formal manner unless clearly defined in the context.
本創作之保護範圍當視後附之申請專利範圍所界定者為準。The scope of protection of this creation shall be determined by the appended patent application scope.
S11~S15:流程圖步驟。S11~S15: Flowchart steps.
第1圖為依據本發明之一種儲存裝置之溫度保護方法的一種實施例之步驟流程圖。 第2圖為一句本發明之一種電腦程式產品的一種實施例之方塊圖。 Figure 1 is a step flow chart of an embodiment of a temperature protection method for a storage device according to the present invention. Figure 2 is a block diagram of an embodiment of a computer program product of the present invention.
S11~S15:流程圖步驟 S11~S15: Flow chart steps
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110107263A TWI811640B (en) | 2021-03-02 | 2021-03-02 | Method for temperature protection of storage device and computer program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110107263A TWI811640B (en) | 2021-03-02 | 2021-03-02 | Method for temperature protection of storage device and computer program product |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202236049A TW202236049A (en) | 2022-09-16 |
TWI811640B true TWI811640B (en) | 2023-08-11 |
Family
ID=84957340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110107263A TWI811640B (en) | 2021-03-02 | 2021-03-02 | Method for temperature protection of storage device and computer program product |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI811640B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103459876A (en) * | 2011-04-12 | 2013-12-18 | 克莱斯勒集团有限责任公司 | Method for determining wet clutch temperature |
TW201533571A (en) * | 2014-02-20 | 2015-09-01 | Phison Electronics Corp | Data transmitting method, memory control circuit unit and memory storage apparatus |
US20170249091A1 (en) * | 2016-02-26 | 2017-08-31 | Sandisk Technologies Llc | Data storage device with temperature sensor and temperature calibration circuitry and method of operating same |
-
2021
- 2021-03-02 TW TW110107263A patent/TWI811640B/en active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103459876A (en) * | 2011-04-12 | 2013-12-18 | 克莱斯勒集团有限责任公司 | Method for determining wet clutch temperature |
TW201533571A (en) * | 2014-02-20 | 2015-09-01 | Phison Electronics Corp | Data transmitting method, memory control circuit unit and memory storage apparatus |
US20170249091A1 (en) * | 2016-02-26 | 2017-08-31 | Sandisk Technologies Llc | Data storage device with temperature sensor and temperature calibration circuitry and method of operating same |
Also Published As
Publication number | Publication date |
---|---|
TW202236049A (en) | 2022-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8982653B2 (en) | Method and device for temperature-based data refresh in non-volatile memories | |
US7123996B2 (en) | Thermal management set-temperature correction for individual system | |
US7233538B1 (en) | Variable memory refresh rate for DRAM | |
US7774671B2 (en) | Method and apparatus to adjust voltage for storage location reliability | |
JP5638110B2 (en) | Thermal control apparatus and method | |
US10539988B2 (en) | Memory system | |
JP2005267702A5 (en) | ||
JP5986607B2 (en) | Data storage device and data maintenance method | |
JP2009526340A (en) | Method for estimating and reporting flash disk memory lifetime | |
KR20070039176A (en) | Method and apparatus to establish, report and adjust system memory usage | |
US20120096255A1 (en) | Server and method for managing i2c bus of the server | |
TW201101029A (en) | Cache controlling apparatus, information processing apparatus and computer-readable recording medium on or in which cache controlling program is recorded | |
US9323660B2 (en) | Memory access control apparatus and memory access control method | |
CN107153455B (en) | Cache power management | |
JP7095566B2 (en) | Memory controller and flash memory system equipped with it | |
TWI811640B (en) | Method for temperature protection of storage device and computer program product | |
US20110113183A1 (en) | Method for Managing a Non-Violate Memory and Computer Readable Medium Thereof | |
CN110597457A (en) | Solid state disk, control method of solid state disk and controller | |
US8161333B2 (en) | Information processing system | |
JP5504604B2 (en) | RAM diagnostic device | |
TWI626657B (en) | Method for extending period of data retention of flash memory and device for the same | |
KR20140042362A (en) | Semiconductor device and operating method thereof | |
CN112557797B (en) | High-charge-rate direct-current bus arrester action load test method and system | |
CN112214164A (en) | Method for determining data inspection cycle of solid state disk | |
US20130227226A1 (en) | Electronic device and method for data backup |