TWI545586B - Data storage device and method for restricting access thereof - Google Patents
Data storage device and method for restricting access thereof Download PDFInfo
- Publication number
- TWI545586B TWI545586B TW102147385A TW102147385A TWI545586B TW I545586 B TWI545586 B TW I545586B TW 102147385 A TW102147385 A TW 102147385A TW 102147385 A TW102147385 A TW 102147385A TW I545586 B TWI545586 B TW I545586B
- Authority
- TW
- Taiwan
- Prior art keywords
- controller
- protection mechanism
- host
- flash memory
- predetermined range
- Prior art date
Links
- 238000013500 data storage Methods 0.000 title claims description 25
- 238000000034 method Methods 0.000 title claims description 22
- 230000007246 mechanism Effects 0.000 claims description 59
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/26—Sensing or reading circuits; Data output circuits
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
Description
本發明係關於一種記憶體裝置之限制存取方法;特別係關於一種根據溫度進行限制存取的方法。 The present invention relates to a method of restricting access to a memory device; and more particularly to a method for restricting access based on temperature.
快閃記憶體為一種普遍的非揮發性資料儲存裝置,係以電性方式抹除與程式化。以非及閘型的快閃記憶體(即NAND FLASH)為例,常用作記憶卡(memory card)、通用序列匯流排閃存裝置(USB flash device)、固態硬碟(SSD)、嵌入式快閃記憶體模組(eMMC)…等使用。 Flash memory is a popular non-volatile data storage device that is electrically erased and programmed. For example, NAND FLASH, which is not a gate type, is often used as a memory card, a universal flash memory device, a solid state drive (SSD), and an embedded flash. Memory module (eMMC)...etc.
快閃記憶體(如,NAND FLASH)的儲存陣列包括複數個區塊(blocks),其中浮置閘極電晶體可用以構成快閃記憶體。浮置閘極電晶體中之浮置閘極,可捕捉的電荷以儲存資料。然而,儲存於浮置閘極之電荷會由於快閃記憶體之操作以及各種環境參數,自浮置閘極流失,造成資料讀取或者寫入的錯誤。 A flash memory (eg, NAND FLASH) storage array includes a plurality of blocks, wherein a floating gate transistor can be used to form a flash memory. A floating gate in a floating gate transistor that captures charge to store data. However, the charge stored in the floating gate may be lost from the floating gate due to the operation of the flash memory and various environmental parameters, resulting in errors in data reading or writing.
本發明提供一種資料儲存裝置包括一快閃記憶體、一溫度感測裝置以及一控制器。快閃記憶體用以儲存資料。溫度感測裝置用以偵測周圍之一環境溫度。控制器用以接收來自一主機用以致使控制器對快閃記憶體進行寫入之一寫 入命令,以及當環境溫度超過一既定範圍時,執行一保護機制,其中在保護機制中,控制器禁能所有自主機接收的寫入命令。另一實施例中,控制器更用以接收來自主機用以致使控制器對快閃記憶體進行讀取之一讀取命令,以及在保護機制中,控制器禁能所有自主機接收的讀取命令。另外,當環境溫度超過既定範圍時,控制器更用以產生一警告訊號,並將警告訊號傳送至主機,以表示禁止對快閃記憶體進行存取之資訊。在一實施例中,控制器更用以每隔一既定週期,讀取溫度感測裝置以獲得相應於當下之環境溫度的溫度參數。控制器更用以當所讀取之溫度參數超過既定範圍時,啟動保護機制,並且用以當所讀取之溫度參數在既定範圍內時,關閉保護機制。在一實施例中,既定範圍係攝氏負40度至85度。 The invention provides a data storage device comprising a flash memory, a temperature sensing device and a controller. Flash memory is used to store data. The temperature sensing device is used to detect an ambient temperature around the environment. The controller is configured to receive a write from a host to cause the controller to write to the flash memory The input command, and when the ambient temperature exceeds a predetermined range, performs a protection mechanism in which the controller disables all write commands received from the host. In another embodiment, the controller is further configured to receive a read command from the host to cause the controller to read the flash memory, and in the protection mechanism, the controller disables all reads received from the host. command. In addition, when the ambient temperature exceeds a predetermined range, the controller is further configured to generate a warning signal and transmit a warning signal to the host to indicate that the access to the flash memory is prohibited. In an embodiment, the controller is further configured to read the temperature sensing device every other predetermined period to obtain a temperature parameter corresponding to the current ambient temperature. The controller is further configured to activate the protection mechanism when the read temperature parameter exceeds a predetermined range, and to turn off the protection mechanism when the read temperature parameter is within a predetermined range. In one embodiment, the predetermined range is minus 40 degrees Celsius to 85 degrees Celsius.
本發明亦提供一種限制存取方法,適用於具有一 快閃記憶體之一資料儲存裝置。存取方法包括:每隔一既定週期,讀取一溫度感測裝置以獲得相應於當下環境溫度的溫度參數;以及當環境溫度超過一既定範圍時,開啟一保護機制,以禁能所有自一主機接收用以對快閃記憶體進行寫入的至少一寫入命令。另一實施例中,限制存取方法更包括在保護機制中,禁能所有自主機接收用以對快閃記憶體進行讀取的至少一讀取命令;當所讀取之溫度參數超過既定範圍時,產生一警告訊號;以及將警告訊號傳送至主機,以表示禁止對快閃記憶體進行存取之資訊。另外,當所讀取之溫度參數在既定範圍內時,限制存取方法更包括關閉保護機制。 The invention also provides a method for restricting access, which is suitable for having one A data storage device for flash memory. The access method includes: reading a temperature sensing device every other predetermined period to obtain a temperature parameter corresponding to the current ambient temperature; and when the ambient temperature exceeds a predetermined range, opening a protection mechanism to disable all one The host receives at least one write command to write to the flash memory. In another embodiment, the method for restricting access further includes: in the protection mechanism, disabling all the at least one read command received from the host for reading the flash memory; when the read temperature parameter exceeds a predetermined range A warning signal is generated; and a warning signal is transmitted to the host to indicate that the access to the flash memory is prohibited. In addition, when the read temperature parameter is within a predetermined range, the restricted access method further includes a shutdown protection mechanism.
本發明亦提供一種資料儲存裝置,包括一快閃記 憶體、一溫度感測裝置以及一控制器。快閃記憶體用以儲存資料。溫度感測裝置用以偵測周圍之一環境溫度。控制器當上述環境溫度超過一既定範圍時,上述控制器啟動一保護機制,用以禁能一主機傳送一寫入命令。 The invention also provides a data storage device, including a flash memory Recalling body, a temperature sensing device and a controller. Flash memory is used to store data. The temperature sensing device is used to detect an ambient temperature around the environment. The controller activates a protection mechanism to disable a host from transmitting a write command when the ambient temperature exceeds a predetermined range.
100‧‧‧電子系統 100‧‧‧Electronic system
120‧‧‧主機 120‧‧‧Host
140‧‧‧資料儲存裝置 140‧‧‧Data storage device
160‧‧‧控制器 160‧‧‧ Controller
162‧‧‧運算單元 162‧‧‧ arithmetic unit
164‧‧‧永久記憶體 164‧‧‧Permanent memory
165‧‧‧隨機存取記憶體 165‧‧‧ random access memory
180‧‧‧快閃記憶體 180‧‧‧Flash memory
190‧‧‧溫度感測裝置 190‧‧‧Temperature sensing device
S202~S212‧‧‧步驟 S202~S212‧‧‧Steps
第1圖係本發明之一種實施例之電子系統之方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of an electronic system in accordance with one embodiment of the present invention.
第2圖係本發明之一種實施例之限制存取方法之流程圖。 Figure 2 is a flow diagram of a method of restricting access to an embodiment of the present invention.
以下將詳細討論本發明各種實施例之裝置及使用方法。然而值得注意的是,本發明所提供之許多可行的發明概念可實施在各種特定範圍中。這些特定實施例僅用於舉例說明本發明之裝置及使用方法,但非用於限定本發明之範圍。 The apparatus and method of use of various embodiments of the present invention are discussed in detail below. However, it is to be noted that many of the possible inventive concepts provided by the present invention can be implemented in various specific ranges. These specific examples are only intended to illustrate the apparatus and methods of use of the present invention, but are not intended to limit the scope of the invention.
第1圖係本發明之一種實施例之電子系統之方塊圖。電子系統100包括一主機120以及一資料儲存裝置140。資料儲存裝置140包括一控制器160、一快閃記憶體180以及一溫度感測裝置190,且可根據主機120所下達的命令操作。控制器160包括一運算單元162、一永久記憶體(如,唯讀記憶體ROM)164以及一隨機存取記憶體165。永久記憶體164與所載之程式碼、資料組成韌體(firmware),由運算單元162執行,使控制器160基於該韌體控制該快閃記憶體180。舉例而言,控制器160可根據主機120之命令執行對快閃記憶體180進行存取,以及自動執行本發明所揭露之限制存取方法。快閃記憶體180具有複數區塊,每一區塊具有複數頁面。值得注意的是,在其他 實施例中,控制器160更可包括一計時裝置(未圖示),計算時間,但本發明不限於此。舉例而言,控制器160亦可根據所接收或者自己產生之時脈計算時間。溫度感測裝置190用以偵測資料儲存裝置140周圍之環境溫度,以產生隨著環境溫度變化之溫度參數。在本實施例中,溫度感測裝置190系設置於資料儲存裝置140中之快閃記憶體180旁,用以偵測快閃記憶體180周圍之環境溫度,但本發明不限於此。在另一實施例中,溫度感測裝置190亦可設置於資料儲存裝置140外,用以偵測資料儲存裝置140周圍之環境溫度。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of an electronic system in accordance with one embodiment of the present invention. The electronic system 100 includes a host 120 and a data storage device 140. The data storage device 140 includes a controller 160, a flash memory 180, and a temperature sensing device 190, and is operable according to commands issued by the host 120. The controller 160 includes an arithmetic unit 162, a permanent memory (e.g., read only memory ROM) 164, and a random access memory 165. The permanent memory 164 and the stored code and data constitute a firmware, which is executed by the operation unit 162, so that the controller 160 controls the flash memory 180 based on the firmware. For example, the controller 160 can perform access to the flash memory 180 according to the command of the host 120, and automatically perform the restricted access method disclosed in the present invention. Flash memory 180 has a plurality of blocks, each block having a plurality of pages. It is worth noting that in other In an embodiment, the controller 160 may further include a timing device (not shown) to calculate the time, but the invention is not limited thereto. For example, the controller 160 can also calculate the time based on the received or self-generated clock. The temperature sensing device 190 is configured to detect an ambient temperature around the data storage device 140 to generate a temperature parameter that varies with ambient temperature. In the present embodiment, the temperature sensing device 190 is disposed adjacent to the flash memory 180 in the data storage device 140 for detecting the ambient temperature around the flash memory 180, but the invention is not limited thereto. In another embodiment, the temperature sensing device 190 can also be disposed outside the data storage device 140 for detecting the ambient temperature around the data storage device 140.
另外,快閃記憶體180更用以儲存相應於溫度之一 既定範圍的參數。在其他實施例中,快閃記憶體180更包括相應於溫度之複數組既定範圍的參數,其中控制器160可根據使用者所輸入之一金鑰或者一識別碼,選取複數組既定範圍中之一既定範圍,以作為限制存取方法的既定範圍。在一實施例中,既定範圍係攝氏負40度至85度,但本發明不限於此。本領域之技術人員可根據本發明之揭示,根據不同之快閃記憶體的資料在不同溫度下寫入或者讀取資料的錯誤率,設計既定範圍。值得注意的是,在一實施例中,不同的廠商或者客戶具有不同之金鑰或者識別碼。 In addition, the flash memory 180 is further used to store one of the temperatures corresponding to The parameters of the established range. In other embodiments, the flash memory 180 further includes a parameter corresponding to a predetermined range of the temperature of the complex array, wherein the controller 160 may select a complex array according to a key or an identification code input by the user. A defined range as a defined range of restricted access methods. In an embodiment, the predetermined range is minus 40 degrees Celsius to 85 degrees Celsius, but the invention is not limited thereto. According to the disclosure of the present invention, a person skilled in the art can design a predetermined range according to the error rate of writing or reading data at different temperatures according to different flash memory data. It is worth noting that in an embodiment, different vendors or customers have different keys or identifiers.
在一實施例中,控制器160可根據環境溫度啟動一 保護機制,以禁能主機120對快閃記憶體180進行寫入或者讀取。舉例而言,控制器160係用以接收來自主機120之讀取命令或者寫入命令,並當環境溫度超過一既定範圍時執行一保護機制,其中讀取命令係用以致使控制器160對快閃記憶體180中之 資料進行讀取,寫入命令係用以致使控制器160對快閃記憶體180中之資料進行寫入。在保護機制中,控制器160禁能所有自主機120所接收的寫入命令,但本發明不限於此。在另一實施例中,在保護機制中,控制器160更用以禁能(忽略)所有自主機120所接收的讀取命令。在一實施例中,當環境溫度超過既定範圍時,控制器160更用以產生一警告訊號,並將警告訊號傳送至主機120,以表示禁止對快閃記憶體180進行存取之資訊,但本發明不限於此。在另一實施例中,當控制器160系在保護機制中接收到寫入命令或者讀取命令時,產生警告訊號,並將警告訊號傳送至主機120,以表示禁止對快閃記憶體180進行存取之資訊。舉例而言,控制器160可在環境溫度超過既定範圍時(即在保護機制中),啟動Write Protect Mode(Pull WP)以禁止資料寫入快閃記憶體180中。另外,控制器160亦可在環境溫度超過既定範圍時(即在保護機制中),忽略來自主機之讀取命令。在另一實施例中,控制器160可根據環境溫度啟動一保護機制,控制器160將設定與主機120的耦接的連接介面,例如SATA介面的寫入保護接腳(Write Protect Pin)接腳,禁能主機120傳送寫入命令。意即當環境溫度超過既定範圍(-45度~85度)時,主機120會因為寫入保護接腳已被設定而無法傳送寫入命令給控制器160,使得主機120無法對資料儲存裝置140進行寫入資料的動作。 In an embodiment, the controller 160 can start one according to the ambient temperature. The protection mechanism disables the host 120 from writing or reading the flash memory 180. For example, the controller 160 is configured to receive a read command or a write command from the host 120 and perform a protection mechanism when the ambient temperature exceeds a predetermined range, wherein the read command is used to cause the controller 160 to be fast Flash memory 180 The data is read, and the write command is used to cause the controller 160 to write data in the flash memory 180. In the protection mechanism, the controller 160 disables all write commands received from the host 120, but the invention is not limited thereto. In another embodiment, in the protection mechanism, the controller 160 is further configured to disable (ignore) all read commands received from the host 120. In an embodiment, when the ambient temperature exceeds a predetermined range, the controller 160 is further configured to generate a warning signal and transmit the warning signal to the host 120 to indicate that the access to the flash memory 180 is prohibited, but The invention is not limited thereto. In another embodiment, when the controller 160 receives a write command or a read command in the protection mechanism, a warning signal is generated, and the warning signal is transmitted to the host 120 to indicate that the flash memory 180 is prohibited from being performed. Access to information. For example, the controller 160 may initiate a Write Protect Mode (Pull WP) to prohibit data from being written into the flash memory 180 when the ambient temperature exceeds a predetermined range (ie, in a protection mechanism). In addition, the controller 160 may also ignore the read command from the host when the ambient temperature exceeds a predetermined range (ie, in the protection mechanism). In another embodiment, the controller 160 can initiate a protection mechanism according to the ambient temperature, and the controller 160 sets a connection interface that is coupled to the host 120, such as a write protect pin of the SATA interface. The disable host 120 transmits a write command. That is, when the ambient temperature exceeds the predetermined range (-45 degrees to 85 degrees), the host 120 may fail to transmit a write command to the controller 160 because the write protection pin has been set, so that the host 120 cannot access the data storage device 140. The action of writing data.
另外,在其他實施例中,寫入之溫度的既定範圍 亦可不同於讀取之溫度的既定範圍。舉例而言,在一實施例中,保護機制可包括一讀取保護機制以及一寫入保護機制,並 且讀取保護機制與寫入保護機制具有不同之溫度的既定範圍。換言之,讀取保護機制與寫入保護機制可根據當下之環境溫度,在不同的時間點啟動。讀取保護機制系用以禁能主機120對快閃記憶體180進行讀取。寫入保護機制系用以禁能主機120對快閃記憶體180進行寫入。 Additionally, in other embodiments, the programmed temperature is within a predetermined range It may also differ from the established range of temperatures read. For example, in an embodiment, the protection mechanism may include a read protection mechanism and a write protection mechanism, and And the read protection mechanism has a different range of temperatures than the write protection mechanism. In other words, the read protection mechanism and the write protection mechanism can be initiated at different points in time depending on the current ambient temperature. The read protection mechanism is used to disable the host 120 from reading the flash memory 180. The write protection mechanism is used to disable the host 120 from writing to the flash memory 180.
詳細而言,控制器160系用以每隔一既定週期,讀 取溫度感測裝置190以獲得相應於當下之環境溫度的溫度參數,並判斷當下之環境溫度的溫度參數是否超過既定範圍,並當當下之環境溫度的溫度參數超過既定範圍時,啟動保護機制。在具有分開之讀取保護機制與寫入保護機制的實施例中,控制器160系用以每隔一既定週期,讀取溫度感測裝置190以獲得相應於當下之環境溫度的溫度參數,並判斷當下之環境溫度的溫度參數是否超過讀取保護機制所相應之既定範圍及/或超過寫入保護機制的既定範圍,並當當下之環境溫度的溫度參數超過讀取保護機制所相應之既定範圍及/或超過寫入保護機制的既定範圍時,分別啟動寫入保護機制及/或讀取保護機制。 另外,在保護機制中,控制器160仍然繼續每隔一既定週期,讀取溫度感測裝置190以獲得相應於當下之環境溫度的溫度參數,並判斷當下之環境溫度的溫度參數是否超過既定範圍,並當當下之環境溫度的溫度參數未超過既定範圍時,關閉保護機制。 In detail, the controller 160 is used to read every predetermined cycle. The temperature sensing device 190 is taken to obtain a temperature parameter corresponding to the current ambient temperature, and it is determined whether the temperature parameter of the current ambient temperature exceeds a predetermined range, and when the temperature parameter of the current ambient temperature exceeds a predetermined range, the protection mechanism is activated. In an embodiment having separate read protection mechanisms and write protection mechanisms, the controller 160 is configured to read the temperature sensing device 190 every other predetermined period to obtain temperature parameters corresponding to the current ambient temperature, and Determining whether the temperature parameter of the current ambient temperature exceeds a predetermined range corresponding to the read protection mechanism and/or exceeds a predetermined range of the write protection mechanism, and when the temperature parameter of the current ambient temperature exceeds a predetermined range corresponding to the read protection mechanism And/or when the specified range of the write protection mechanism is exceeded, the write protection mechanism and/or the read protection mechanism are respectively initiated. In addition, in the protection mechanism, the controller 160 continues to read the temperature sensing device 190 every other predetermined period to obtain a temperature parameter corresponding to the current ambient temperature, and determines whether the temperature parameter of the current ambient temperature exceeds a predetermined range. And when the temperature parameter of the current ambient temperature does not exceed the specified range, the protection mechanism is turned off.
第2圖係本發明之一種實施例之限制存取方法之流程圖。資料維護方法適用於第1圖所示之資料儲存裝置140。流程開始於步驟S200。 Figure 2 is a flow diagram of a method of restricting access to an embodiment of the present invention. The data maintenance method is applied to the data storage device 140 shown in FIG. The flow begins in step S200.
在步驟S200中,控制器160讀取溫度感測裝置190 以獲得相應於當下之環境溫度的溫度參數。 In step S200, the controller 160 reads the temperature sensing device 190. A temperature parameter corresponding to the current ambient temperature is obtained.
接著,在步驟S202中,控制器160判斷當下之環境 溫度的溫度參數是否超過既定範圍。當溫度參數超過既定範圍時,流程進行至步驟S204。當溫度參數未超過既定範圍時,流程進行至步驟S208。在一實施例中,既定範圍係攝氏負40度至85度,但本發明不限於此。本領域之技術人員可根據本發明之揭示,根據不同之快閃記憶體的資料在不同溫度下寫入或者讀取資料的錯誤率,設計既定範圍。 Next, in step S202, the controller 160 determines the current environment. Whether the temperature parameter of the temperature exceeds the specified range. When the temperature parameter exceeds the predetermined range, the flow proceeds to step S204. When the temperature parameter does not exceed the predetermined range, the flow proceeds to step S208. In an embodiment, the predetermined range is minus 40 degrees Celsius to 85 degrees Celsius, but the invention is not limited thereto. According to the disclosure of the present invention, a person skilled in the art can design a predetermined range according to the error rate of writing or reading data at different temperatures according to different flash memory data.
接著,在步驟S204中,控制器160判斷保護機制是 否已啟動。當保護機制已啟動時,流程進行至步驟S208。當保護機制未啟動時,流程進行至步驟S206。 Next, in step S204, the controller 160 determines that the protection mechanism is No started. When the protection mechanism has been started, the flow proceeds to step S208. When the protection mechanism is not activated, the flow proceeds to step S206.
接著,在步驟S206中,控制器160開啟保護機制, 以禁能所有自主機120接收用以對快閃記憶體180進行寫入的寫入命令。值得注意的是,在另一實施例之保護機制中,當環境溫度超過既定範圍時,控制器160更用以禁能所有自主機120接收用以對快閃記憶體180進行讀取的讀取命令。在一實施例中,當環境溫度超過既定範圍時,控制器160更用以產生一警告訊號,並將警告訊號傳送至主機120,以表示禁止對快閃記憶體180進行存取之資訊,但本發明不限於此。在另一實施例中,當控制器160系在保護機制中接收到寫入命令或者讀取命令時,產生警告訊號,並將警告訊號傳送至主機120,以表示禁止對快閃記憶體180進行存取之資訊。舉例而言,控制器160可在環境溫度超過既定範圍時(即在保護機制中),啟動Write Protect Mode(Pull WP)以禁止資料寫入快閃記憶體180中。另外,控制器160亦可在環境溫度超過既定範圍時(即在保護機制中),忽略來自主機之讀取命令。在另一實施例中,控制器160可根據環境溫度啟動一保護機制,控制器160將設定與主機120的耦接的連接介面,例如SATA介面的寫入保護接腳(Write Protect Pin)接腳,禁能主機120傳送寫入命令。意即當環境溫度超過既定範圍(-45度~85度)時,主機120會因為寫入保護接腳已被設定而無法傳送寫入命令給控制器160,使得主機120無法對資料儲存裝置140進行寫入資料的動作。 Next, in step S206, the controller 160 turns on the protection mechanism. All write commands for writing to the flash memory 180 are disabled from the host 120. It should be noted that in the protection mechanism of another embodiment, when the ambient temperature exceeds a predetermined range, the controller 160 is further configured to disable all readings from the host 120 for reading the flash memory 180. command. In an embodiment, when the ambient temperature exceeds a predetermined range, the controller 160 is further configured to generate a warning signal and transmit the warning signal to the host 120 to indicate that the access to the flash memory 180 is prohibited, but The invention is not limited thereto. In another embodiment, when the controller 160 receives a write command or a read command in the protection mechanism, a warning signal is generated, and the warning signal is transmitted to the host 120 to indicate that the flash memory 180 is prohibited from being performed. Access to information. For example, the controller 160 can initiate a Write when the ambient temperature exceeds a predetermined range (ie, in a protection mechanism). Protect Mode (Pull WP) prohibits data from being written to the flash memory 180. In addition, the controller 160 may also ignore the read command from the host when the ambient temperature exceeds a predetermined range (ie, in the protection mechanism). In another embodiment, the controller 160 can initiate a protection mechanism according to the ambient temperature, and the controller 160 sets a connection interface that is coupled to the host 120, such as a write protect pin of the SATA interface. The disable host 120 transmits a write command. That is, when the ambient temperature exceeds the predetermined range (-45 degrees to 85 degrees), the host 120 may fail to transmit a write command to the controller 160 because the write protection pin has been set, so that the host 120 cannot access the data storage device 140. The action of writing data.
在步驟S208中,控制器160判斷保護機制是否已啟 動。當保護機制已啟動時,流程進行至步驟S210。當保護機制未啟動時,流程進行至步驟S212。 In step S208, the controller 160 determines whether the protection mechanism has been activated. move. When the protection mechanism has been started, the flow proceeds to step S210. When the protection mechanism is not activated, the flow proceeds to step S212.
在步驟S210中,控制器160關閉保護機制。 In step S210, the controller 160 turns off the protection mechanism.
接著,在步驟S212中,控制器160判斷是否超過一 既定時間。當超過既定時間時,流程會到步驟S200,控制器160讀取溫度感測裝置190以獲得相應於當下之環境溫度的溫度參數。當未超過既定時間時,控制器160繼續判斷是否超過既定時間。 Next, in step S212, the controller 160 determines whether it exceeds one. Established time. When the predetermined time is exceeded, the flow proceeds to step S200, and the controller 160 reads the temperature sensing device 190 to obtain a temperature parameter corresponding to the current ambient temperature. When the predetermined time has not elapsed, the controller 160 continues to judge whether or not the predetermined time is exceeded.
由上述可知,資料儲存裝置140以及限制存取方法 可根據目前之溫度對主機120進行限制存取。 As can be seen from the above, the data storage device 140 and the restricted access method The host 120 can be restricted in access based on the current temperature.
本發明之方法,或特定型態或其部份,可以以程 式碼的型態存在。程式碼可儲存於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器, 如電腦載入且執行時,此機器變成用以參與本發明之裝置。程式碼也可透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之裝置。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。 The method of the present invention, or a specific type or part thereof, may be The type of code exists. The code can be stored in a physical medium such as a floppy disk, a CD, a hard disk, or any other machine readable (such as computer readable) storage medium, or is not limited to an external form of computer program product, wherein When the code is machined, When the computer is loaded and executed, the machine becomes a device for participating in the present invention. The code can also be transmitted via some transmission medium, such as a wire or cable, fiber optics, or any transmission type, where the machine becomes part of the program when it is received, loaded, and executed by a machine, such as a computer. Invented device. When implemented in a general purpose processing unit, the code combination processing unit provides a unique means of operation similar to application specific logic.
惟以上所述者,僅為本發明之較佳實施例而已, 當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。另外本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之權利範圍。 However, the above is only the preferred embodiment of the present invention. The scope of the present invention is not limited by the scope of the invention, and the equivalent equivalents and modifications of the present invention are still within the scope of the invention. In addition, any of the objects or advantages or features of the present invention are not required to be achieved by any embodiment or application of the invention. In addition, the abstract sections and headings are only used to assist in the search of patent documents and are not intended to limit the scope of the invention.
100‧‧‧電子系統 100‧‧‧Electronic system
120‧‧‧主機 120‧‧‧Host
140‧‧‧資料儲存裝置 140‧‧‧Data storage device
160‧‧‧控制器 160‧‧‧ Controller
162‧‧‧運算單元 162‧‧‧ arithmetic unit
164‧‧‧永久記憶體 164‧‧‧Permanent memory
165‧‧‧隨機存取記憶體 165‧‧‧ random access memory
180‧‧‧快閃記憶體 180‧‧‧Flash memory
190‧‧‧溫度感測裝置 190‧‧‧Temperature sensing device
Claims (11)
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410201136.9A CN104346232A (en) | 2013-08-06 | 2014-05-13 | Data storage device and access limiting method thereof |
| KR1020140099231A KR20150017305A (en) | 2013-08-06 | 2014-08-01 | Data storage device and method for restricting access thereof |
| US14/450,932 US20150046637A1 (en) | 2013-08-06 | 2014-08-04 | Data storage device and method for restricting access thereof |
| JP2014160780A JP2015032317A (en) | 2013-08-06 | 2014-08-06 | Data storage device and access control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201361862872P | 2013-08-06 | 2013-08-06 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201506947A TW201506947A (en) | 2015-02-16 |
| TWI545586B true TWI545586B (en) | 2016-08-11 |
Family
ID=53019472
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW102147385A TWI545586B (en) | 2013-08-06 | 2013-12-20 | Data storage device and method for restricting access thereof |
Country Status (2)
| Country | Link |
|---|---|
| KR (1) | KR20150017305A (en) |
| TW (1) | TWI545586B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102669909B1 (en) * | 2016-12-20 | 2024-05-29 | 에스케이하이닉스 주식회사 | Memory system and operating method thereof |
-
2013
- 2013-12-20 TW TW102147385A patent/TWI545586B/en active
-
2014
- 2014-08-01 KR KR1020140099231A patent/KR20150017305A/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| KR20150017305A (en) | 2015-02-16 |
| TW201506947A (en) | 2015-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106898381B (en) | Data storage device and voltage protection method thereof | |
| CN104346232A (en) | Data storage device and access limiting method thereof | |
| US20200348888A1 (en) | Storage device and method of operating the same | |
| CN110619911B (en) | Storage device and method for operating the storage device | |
| US9362003B2 (en) | System and method to decode data subject to a disturb condition | |
| TWI517181B (en) | Data storage device and data maintenance method thereof | |
| TWI569144B (en) | Data storage device and power-interruption detection method thereof | |
| CN111258793A (en) | Memory controller and operating method thereof | |
| KR102542286B1 (en) | Storage device and operating method thereof | |
| KR102438988B1 (en) | Nonvolatile memory device that performs randomization operation | |
| KR101785006B1 (en) | Memory system including nonvolatile memory and method of controlling thereof | |
| TWI553641B (en) | Data storage device and mode detection method thereof | |
| TWI482161B (en) | Data storage device and voltage protection method thereof | |
| CN104346236A (en) | Data storage device and data maintenance method thereof | |
| CN106205712B (en) | Semiconductor memory device and method of operating the same | |
| US20160179392A1 (en) | Non-volatile memory device | |
| TWI545586B (en) | Data storage device and method for restricting access thereof | |
| KR20170133545A (en) | Semiconductor device and semiconductor system | |
| TWI585769B (en) | Data storage device and detection method for flash memory | |
| TWI490870B (en) | Data storage device and data maintenance method thereof | |
| JP2012230731A (en) | Nonvolatile semiconductor memory system and storage device comprising the same | |
| CN108288487A (en) | Data Storage Device and Data Maintenance Method Thereof |