Method for detecting temperature in flash memory device and flash memory device thereof

By storing and comparing conduction cell count data in flash memory devices, the problems of high cost and difficult temperature detection in traditional methods are solved, cost-effective temperature detection and dynamic thermal throttling are achieved, extending device life and optimizing performance.

CN118732940APending Publication Date: 2024-10-01SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410370806.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The use of thermal sensors in traditional flash memory devices increases costs, and it is difficult to effectively detect temperature without using thermal sensors, resulting in possible overheating damage to the storage device. It is difficult to achieve cost-effective temperature detection and dynamic thermal throttling with existing technology. .

Method used

A method of detecting temperature without using a temperature/thermal sensor is implemented by storing and comparing conduction cell count data in a flash memory device, determining the temperature, and sending a notification signal to the host device based on this.

Benefits of technology

Provides a cost-effective temperature detection scheme that allows flash memory devices to operate within a specified temperature range, avoid data corruption, increase device life, and dynamically adjust temperature to optimize performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732940A_ABST
    Figure CN118732940A_ABST
Patent Text Reader

Abstract

The invention provides a method for detecting temperature in a flash memory device and the flash memory device. The method includes receiving an input / output (I / O) request from a host device, and determining a turn-on cell count value for a target page within an active block of the flash memory device upon receiving the I / O request. The method also includes comparing the on-cell count value of the target page within the active block of the flash memory device to stored on-cell count data of the flash memory device. Further, the method includes determining a temperature of the flash memory device corresponding to the stored on-cell count value based on the comparison. A notification signal is sent to the host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The inventive concept relates to the field of memory devices, and more particularly, to a flash memory device and a method for detecting temperature in the flash memory device. Background Art

[0002] In storage devices, high performance often results in higher power usage, and therefore increased heat generation. If the heat generated is not reduced, the storage device temperature may exceed the threshold operating condition / temperature and cause damage to the storage device (e.g., hardware damage). Temperature detection and notification transmission to the host device can help the host device take appropriate actions to reduce the storage device temperature to the threshold operating condition / temperature. Traditionally, in some storage devices such as flash memory devices, thermal sensors are used to perform temperature detection. However, the use of thermal sensors increases the cost of flash memory devices. In addition, in low-cost flash memory devices that do not include or implement thermal sensors, the technology for implementing existing thermal sensors to detect the temperature of the flash memory device may be impractical due to the increased cost. Summary of the invention

[0003] According to an embodiment conceived in the present invention, a method for detecting temperature in a flash memory device includes: receiving an input / output (I / O) request from a host device; determining a turn-on cell count value of a target page within an active block of the flash memory device when the I / O request is received; comparing the turn-on cell count value of the target page within the active block of the flash memory device with stored turn-on cell count data of a predefined turn-on cell count table; and determining a temperature of the flash memory device corresponding to the stored turn-on cell count value based on the comparison, wherein a notification signal is sent to the host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.

[0004] According to an embodiment conceived in the present invention, a flash memory device for detecting temperature in a flash memory device includes: a memory; a communication interface for communicating with a host device; and a processor configured to: receive an input / output (I / O) request from the host device through the communication interface; determine a turn-on cell count value of a target page within an active block of the flash memory device when the I / O request is received; compare the turn-on cell count value of the target page within the active block of the flash memory device with stored turn-on cell count data of a predefined turn-on cell count table; and determine the temperature of the flash memory device corresponding to the stored turn-on cell count value based on the comparison, wherein a notification signal is sent to the host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.

[0005] According to an embodiment of the present invention, a flash memory device for detecting a temperature in a flash memory device includes: a memory including data stored therein and a plurality of modules; an input / output (I / O) interface for communicating with a host device; and a processor communicatively coupled to the plurality of modules, wherein the plurality of modules include a transceiver module, a determination module, and a comparison module, wherein the transceiver module is configured to receive a command from the host device, wherein the determination module is configured to: upon receiving the command from the host device, measure a turn-on cell count value of each target page of a block in the flash memory device for each of a plurality of temperatures; store the turn-on cell count value of each target page of the block in the flash memory device and the corresponding temperature as turn-on cell count data in the flash memory device; determine a turn-on cell count value of a target page within an active block of the flash memory device; and determine a temperature of the flash memory device corresponding to the stored turn-on cell count value based on a comparison between the turn-on cell count value of the target page within the active block of the flash memory device and the stored turn-on cell count data. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The above and other aspects of the present inventive concept will become more apparent by describing in detail embodiments of the present inventive concept with reference to the accompanying drawings, in which:

[0007] Figure 1 A system for detecting temperature in a flash memory device according to an embodiment of the inventive concept is illustrated.

[0008] Figure 2 A block diagram of a flash memory device according to an embodiment of the inventive concept is shown.

[0009] Figure 3A A flowchart showing a method of storing on-cell count data in a flash memory device according to an embodiment of the inventive concept is shown.

[0010] Figure 3B A flowchart showing a method of detecting temperature in a flash memory device according to an embodiment of the inventive concept is shown.

[0011] Figure 4 A block diagram of a host storage system according to an embodiment of the inventive concept is shown.

[0012] Those skilled in the art will appreciate that any block diagram herein represents a conceptual diagram of an illustrative system that embodies the principles of the inventive concept. Similarly, it will be appreciated that any flowchart, flow chart, state transition diagram, pseudo code, etc., represents various processes that can be substantially represented in a computer-readable medium and executed by a computer or processor, whether or not the computer or processor is explicitly displayed. DETAILED DESCRIPTION

[0013] In this document, the word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any embodiment or implementation of the inventive concepts described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0014] Although the present disclosure is susceptible to various modifications and alternative forms, specific embodiments thereof have been shown by way of example in the accompanying drawings and will be described in detail below. However, it should be understood that it is not intended to limit the present disclosure to the particular form disclosed, but rather, the present disclosure will include all modifications, equivalent forms and alternative forms that fall within the spirit and scope of the inventive concept.

[0015] In the following detailed description of the embodiments of the inventive concept, the inventive concept is described with reference to the accompanying drawings. These embodiments are described in sufficient detail to enable those skilled in the art to practice the inventive concept, and it will be understood that other embodiments may be utilized and may be changed without departing from the spirit and scope of the inventive concept. Therefore, the following description should not be considered restrictive.

[0016] Embodiments of the inventive concept provide a method and a flash memory device for detecting temperature in a flash memory device. In the present disclosure, the on-cell count value of a target page of a block in a flash memory and the on-cell count data of the corresponding temperature are measured for all polarities and stored in the flash memory device as a predefined on-cell count table. When an input / output (I / O) request is received from a host device, the on-cell count value of the target page within the active block of the flash memory device is determined and compared with the stored on-cell count data. Based on the comparison, the temperature of the flash memory device corresponding to the stored on-cell count value is determined. Thereafter, a notification signal is sent to the host device based on the temperature of the flash memory device and a threshold operating temperature. The present disclosure provides a cost-effective solution for determining the temperature of a flash memory device without using any temperature / thermal sensor. In addition, the inventive concept allows dynamic thermal throttling to be implemented in a flash memory device that does not support any temperature / thermal sensor. In addition, the inventive concept helps the flash memory device operate within a specified temperature range, thereby avoiding data corruption in the flash memory device and thus increasing the life of the flash memory device. Furthermore, the inventive concept helps determine when a flash memory device is operating at a low or high temperature and allows a host device to take appropriate actions at the appropriate time to reduce the temperature without shutting down the flash memory device.

[0017] Figure 1 A system for detecting temperature in a flash memory device according to an embodiment of the inventive concept is illustrated.

[0018] exist Figure 1 In the embodiment of the present invention, the system includes a host device (also referred to as a host) 101, an interface 103, and a flash memory device 105. The host device 101 can be a computer, a laptop, a mobile device, an embedded device, or any other device. The host device 101 is connected to the flash memory device 105 via the interface 103. The interface 105 can be a wired communication. In an embodiment of the present inventive concept, the host device 101 can communicate wirelessly with the flash memory device 105.

[0019] In an embodiment of the present inventive concept, the flash memory device 105 is a NAND-based device. The NAND-based device is one of an embedded multimedia card (eMMC), a secure digital (SD) card, a universal flash memory (UFS), and a solid-state drive (SSD). The flash memory device 105 includes an input / output (I / O) interface 107 (e.g., a communication interface), a memory 109, and a processor (or, for example, a controller) 111. For example, the flash memory device 105 may include a controller. The I / O interface 107 is configured to receive an I / O request from the host device 101 and receive a command from the host device 101 at each of a plurality of temperatures before receiving the I / O request from the host device 101. The I / O request is a data write request or a data read request. The I / O interface 107 adopts a wired communication protocol / method.

[0020] The memory 109 is communicatively coupled to the processor 111 of the flash memory device 105. The memory 109 also stores controller executable instructions that can cause the processor 111 to execute instructions for detecting temperature in the flash memory device 105. The memory 109 includes, but is not limited to, a memory drive, a removable disk drive, and the like.

[0021] The processor 111 includes at least one data processor for detecting the temperature in the flash memory device 105. The processor 111 may include a dedicated processing unit, such as an integrated system (bus) controller, a memory management control unit, a floating point unit, a graphics processing unit, a digital signal processing unit, etc.

[0022] Hereinafter, the operation for detecting the temperature in the flash memory device 105 is briefly explained in two parts. The first part explains a method of storing the on-cell count data in the flash memory device 105, and the second part explains a method of detecting the temperature in the flash memory device 105. The first part explaining the method of storing the on-cell count data in the flash memory device 105 is performed once for the flash memory device 105, and the second part explaining the method of detecting the temperature in the flash memory device 105 is performed as and when the flash memory device 105 receives an I / O request from the host device 101.

[0023] Part I: Before receiving an I / O request from the host device 101, the flash memory device 105 receives a write command from the host device 101. Subsequently, data is received from the host device 101 by the flash memory device 105 at multiple temperatures. For example, the multiple temperatures include, but are not limited to, temperatures in the range of about -40°C to about 160°C. In the inventive concept, the flash memory device 105 is exposed to multiple temperatures using temperature induction / forcing equipment. Thereafter, the flash memory device 105 measures / reads the conduction cell count value of each target page of the block in the flash memory device 105 for multiple temperatures. The conduction cell count value refers to the number of cells programmed to a specific voltage range. For example, if there are a total of 100 cells, and 20 of the total 100 cells are programmed to a voltage level of about 3V, then the 20 cells will be the conduction cell count value at a voltage level of about 3V. The target page refers to the page within the block in the flash memory device 105 to be checked for the conduction cell count value. One or more target pages among pages within a block in the flash memory device 105 are set by the manufacturer of the flash memory device 105. Thereafter, the flash memory device 105 stores the on-cell count value and the corresponding temperature of each target page of the block in the flash memory device 105 as on-cell count data in a predefined on-cell count table in the flash memory device 105. For example, when the flash memory device 105 receives a command from the host device 101, the flash memory device 105 measures the on-cell count value of each target page of the block in the flash memory device 105 at each of a plurality of temperatures. Thereafter, the flash memory device 105 stores the on-cell count value and the corresponding temperature of each target page of the block in the flash memory device 105 as on-cell count data in the predefined on-cell count table. Similarly, a process of measuring and storing the on-cell count value of each target page at a plurality of (or different) temperatures is performed. As part of the firmware of the flash memory device 105, the on-cell count value and the corresponding temperature are stored as on-cell count data in a predefined on-cell count table in the flash memory device 105. In one embodiment of the present inventive concept, the on-cell count data is stored in a table format (also referred to as an on-cell count table or OCT) as shown in Table 1 below. The on-cell count data in Table 1 is presented as an example and should not be interpreted as exhaustive data.

[0024] Temperature in °C On-cell count value 25 111111 85 222222 125 333333 140 444444 160 555555 -25 666666 -40 777777

[0025] Table 1

[0026] The stored on-cell count data is retained in the Flash memory device 105 throughout the Flash memory device lifecycle. Once the on-cell count data is stored in the Flash memory device 105 as described above, the Flash memory device 105 is ready for the second part of the operation, namely, detecting the temperature in the Flash memory device 105.

[0027] The above-mentioned multiple temperatures and on-cell count values ​​are presented for explanation purposes and as examples. However, in practice, the multiple temperatures and on-cell count values ​​may vary based on the type of flash memory device.

[0028] During operation of the flash memory device 105, the flash memory device 105 receives an I / O request from the host device 101. In an embodiment of the inventive concept, the processor 111 may receive the I / O request from the host device 101 through the I / O interface 107. The I / O request is a data write request or a data read request. When receiving the I / O request, the flash memory device 105 determines the on-cell count value of the target page within the active block in the flash memory device 105. For example, the processor 111 may determine the on-cell count value of the target page within the active block in the flash memory device 105. The target page refers to a page to be checked for the on-cell count value among a plurality of pages within a block in the flash memory device 105. The active block refers to a block in the flash memory device 105 that runs the I / O request. Thereafter, the flash memory device 105 (e.g., the processor 111) compares the on-cell count value of the target page within the active block of the flash memory device 105 with the stored on-cell count data. Based on the comparison, the flash memory device 105 determines the temperature of the flash memory device 105 corresponding to the stored on-cell count value. The flash memory device 105 sends a notification signal to the host device 101 based on the temperature of the flash memory device 105 and the threshold operating temperature. For example, when the temperature is higher than the threshold operating temperature of the flash memory device 105, the flash memory device 105 sends a notification signal to the host device 101 indicating that the flash memory device 105 is operating at a high temperature. When the temperature is lower than the threshold operating temperature of the flash memory device 105, the flash memory device 105 sends a notification signal to the host device 101 indicating that the flash memory device 105 is operating at a low temperature. The threshold operating temperature of the flash memory device 105 is set by the manufacturer of the flash memory device 105. Thereafter, based on the notification signal, the host device 101 takes appropriate actions to optimize the performance and functionality of the flash memory device 105.

[0029] Figure 2 A detailed block diagram of a flash memory device according to an embodiment of the inventive concept is shown.

[0030] In addition to the above-mentioned I / O interface 107 and processor 111, flash memory device 105 also includes data 211 and one or more modules 221 described in detail herein. In this embodiment, data 211 may be stored in memory 109. Data 211 includes, for example, on-cell count data 213 and other data 215.

[0031] The on-cell count data 213 includes an on-cell count value and a corresponding temperature. The on-cell count value and the corresponding temperature are collectively referred to as on-cell count data. In one embodiment of the inventive concept, as shown in Table 1 above, the on-cell count data is stored in a table format (also referred to as an on-cell count table or OCT).

[0032] Other data 215 stores data generated by one or more modules 221 for performing various functions of the flash memory device 105, including metadata, user data, and temporary files.

[0033] In an embodiment of the present invention, the data 211 in the memory 109 is processed by one or more modules 221 present in the memory 109 of the flash memory device 105. In this embodiment, the one or more modules 221 are implemented as dedicated hardware units (e.g., circuits). As used herein, the term module refers to, for example, an application specific integrated circuit (ASIC), an electronic circuit, a field programmable gate array (FPGA), a programmable system on chip (PSoC), a combinational logic circuit, and / or other suitable components that provide the described functions. In an embodiment of the present invention, one or more modules 221 are communicatively coupled to the processor 111 for performing one or more functions of the flash memory device 105. The modules 221, when configured with the functions defined in the present disclosure, produce novel hardware. In an embodiment of the present invention, the processor 111 or a controller may include the module 221, or another processor or controller may include the module 221.

[0034] In one embodiment, the one or more modules 221 include but are not limited to a transceiver module 223, a determination module 225, and a comparison module 227. The one or more modules 221 also include other modules 229 to perform various miscellaneous functions of the flash memory device 105.

[0035] Regarding the transceiver module 223, before receiving an I / O request from the host device 101, the transceiver module 223 receives a command from the host device 101 at each of a plurality of temperatures. The transceiver module 223 receives an input / output (I / O) request from the host device 101. The transceiver module 223 sends a notification signal to the host device 101 based on the temperature of the flash memory device 105 and the threshold operating temperature. For example, when the temperature of the flash memory device 105 is lower than the threshold operating temperature of the flash memory device 105, the transceiver module 223 sends a notification signal indicating a low operating temperature of the flash memory device 105 to the host device 101. When the temperature of the flash memory device 105 is higher than the threshold operating temperature of the flash memory device 105, the transceiver module 223 sends a notification signal indicating a high operating temperature of the flash memory device 105 to the host device 101.

[0036] Regarding the determination module 225, the determination module 225 measures the on-cell count value of each target page of the block in the flash memory device 105 for each of a plurality of temperatures when receiving a command from the host device 101. Thereafter, the determination module 225 stores the on-cell count value of each target page of the block in the flash memory device 105 and the corresponding temperature as on-cell count data in the flash memory device 105. When an I / O request is received from the host device 101, the determination module 225 determines the on-cell count value of the target page within the active block of the flash memory device 105. The determination module 225 determines the temperature of the flash memory device 105 corresponding to the stored on-cell count value based on the comparison performed by the comparison module 227. In one embodiment of the inventive concept, the determination module 225 generates a notification signal to be sent by the transceiver module 223 to the host device 101 based on the temperature of the flash memory device 105 and the threshold operating temperature.

[0037] With respect to the comparison module 227 , the comparison module 227 compares the on-cell count value of the target page within the active block of the flash memory device 105 with the stored on-cell count data in the predefined on-cell count table.

[0038] Figure 3A A flowchart showing a method of storing on-cell count data in a flash memory device according to an embodiment of the inventive concept is shown.

[0039] like Figure 3AAs shown, method 300a includes one or more blocks for storing on-cell count data in a flash memory device according to the present embodiment. Method 300a can be described in the general context of computer-executable instructions. In general, computer-executable instructions can include routines, programs, objects, components, data structures, procedures, modules, and functions that perform specific functions or implement specific abstract data types.

[0040] The order in which method 300a is described is not intended to be construed as limiting, and any number of the described method blocks may be combined in any order to implement the method. In addition, individual blocks may be deleted from the method without departing from the spirit and scope of the inventive concept described herein. In addition, the method may be implemented in any suitable hardware, software, firmware, or a combination thereof.

[0041] The following operations from block 301 to block 305 are performed before receiving an I / O request from the host device 101. The following operations are performed once after manufacturing the flash memory device 105. Once the on-cell count data is stored in the flash memory device 105, the on-cell count data is retained in the flash memory device 105 throughout the flash memory device life cycle.

[0042] At block 301 , the transceiver module 223 of the flash memory device 105 may receive commands from the host device 101 at each of a plurality of temperatures.

[0043] At block 303, upon receiving the command, the determination module 225 of the flash memory device 105 may measure / determine the on-cell count value of each target page of a block in the flash memory device 105 for each of a plurality of temperatures. The target page may refer to a page within a block in the flash memory device 105 whose on-cell count value is to be checked.

[0044] At block 305 , the determination module 225 of the flash memory device 105 may store the on-cell count value and the corresponding temperature of each target page of a block in the flash memory device 105 as on-cell count data in the flash memory device 105 .

[0045] Figure 3B A flowchart showing a method of detecting temperature in a flash memory device according to an embodiment of the inventive concept is shown.

[0046] like Figure 3BAs shown, method 300b includes one or more blocks for detecting temperature in a flash memory device according to the present embodiment. Method 300b can be described in the general context of computer executable instructions. In general, computer executable instructions can include routines, programs, objects, components, data structures, processes, modules, and functions that perform specific functions or implement specific abstract data types.

[0047] The order in which method 300b is described is not intended to be construed as limiting, and any number of the described method blocks may be combined in any order to implement the method. In addition, individual blocks may be deleted from the method without departing from the spirit and scope of the inventive concept described herein. In addition, the method may be implemented in any suitable hardware, software, firmware, or a combination thereof.

[0048] At block 311, the transceiver module 223 of the flash memory device 105 may receive an input / output (I / O) request from the host device 101. The I / O request may be a data write request or a data read request.

[0049] At block 313, the determination module 225 of the flash memory device 105 may determine the on-cell count value of the target page within the active block of the flash memory device 105 upon receiving the I / O request. The target page may refer to a page to be checked for the on-cell count value within a block in the flash memory device 105. The active block may refer to a block in the flash memory device 105 on which the I / O request is executed.

[0050] At block 315 , the comparison module 227 of the flash memory device 105 may compare the on-cell count value of the target page within the active block of the flash memory device with the stored on-cell count data in the predefined on-cell count table. The stored on-cell count data may be in the flash memory device 105 .

[0051] At block 317, the determination module 225 of the flash memory device 105 may determine the temperature of the flash memory device 105 corresponding to the stored on-cell count value based on the comparison. A notification signal may be sent to the host device 101 based on the temperature of the flash memory device 105 and a threshold operating temperature of the flash memory device 105.

[0052] At block 319 , when the temperature of the Flash memory device 105 is below the threshold operating temperature of the Flash memory device 105 , the transceiver module 223 of the Flash memory device 105 may send a notification signal to the host device 101 indicating the low operating temperature of the Flash memory device 105 .

[0053] At block 321 , when the temperature of the Flash memory device 105 is above a threshold operating temperature of the Flash memory device 105 , the transceiver module 223 of the Flash memory device 105 may send a notification signal indicating the high operating temperature of the Flash memory device 105 to the host device 101 .

[0054] Therefore, the inventive concept may provide a cost-effective method of determining the temperature of a flash memory device without using any temperature / thermal sensors.

[0055] The inventive concept may allow dynamic thermal throttling to be implemented in flash memory devices that do not support or include any temperature / thermal sensors.

[0056] The inventive concept may help a flash memory device to operate within a specified temperature range, thereby avoiding data corruption in the flash memory device and thus increasing the lifespan of the flash memory device.

[0057] The inventive concept may help determine when a flash memory device is operating at a low or high temperature and allow a host device to take appropriate actions at the appropriate time to reduce the temperature of the flash memory device without shutting down the flash memory device.

[0058] Figure 4 A block diagram of a host storage system according to an embodiment of the inventive concept is shown.

[0059] The host storage system 40 may include a host 400 and a storage device 500. In addition, the storage device 500 may include a storage controller 510 and an NVM 520. According to an example embodiment of the inventive concept, the host 400 may include a host controller 410 and a host memory 420. The host memory 420 may be used as a buffer memory configured to temporarily store data to be transmitted to the storage device 400 or to store data received from the storage device 500.

[0060] The storage device 500 may include a storage medium configured to store data in response to a request from the host 400. As an example, the storage device 500 may include at least one of an SSD, an embedded memory, and a removable external memory. When the storage device 500 is an SSD, the storage device 500 may be a device that complies with the NVMe standard. When the storage device 500 is an embedded memory or an external memory, the storage device 500 may be a device that complies with the UFS standard or the eMMC standard. Each of the host 400 and the storage device 500 may generate a packet according to the adopted standard protocol and send the packet.

[0061] For example, when the NVM 520 of the storage device 500 includes a flash memory, the flash memory may include a 2D NAND memory array or a 3D (or vertical) NAND (VNAND) memory array. As another example, the storage device 500 may include various other types of NVM. For example, the storage device 500 may include a magnetic RAM (MRAM), a spin-transfer torque MRAM, a conductive bridge RAM (CBRAM), a ferroelectric RAM (FRAM), a PRAM, a RRAM, and various other types of memory.

[0062] According to an embodiment of the present invention, the host controller 410 and the host memory 420 may be implemented as separate semiconductor chips. In addition, in an embodiment of the present invention, the host controller 410 and the host memory 420 may be integrated in the same semiconductor chip. As an example, the host controller 410 may be any one of a plurality of modules included in an application processor (AP). The AP may be implemented as a system on chip (SoC). In addition, the host memory 420 may be an embedded memory included in the AP or an NVM or memory module located outside the AP.

[0063] The host controller 410 may manage an operation of storing data of a buffer of the host memory 420 in the NVM 520 (eg, write data) and / or an operation of storing data of the NVM 520 in a buffer (eg, read data).

[0064] The storage controller 510 may include a host interface 511, a memory interface 512, and a CPU 513. In addition, the storage controller 510 may further include a flash translation layer (FTL) 514, a package manager 515, a buffer memory 516, an error correction code (ECC) engine 517, and an advanced encryption standard (AES) engine 518. The storage controller 510 may further include a working memory in which the FTL 514 is loaded. The CPU 513 may run the FTL 514 to control data write operations and read operations on the NVM 520.

[0065] The host interface 511 may send packets to the host 400 and receive packets from the host 400. The packets sent from the host 400 to the host interface 511 may include commands or data to be written to the NVM 520. The packets sent from the host interface 511 to the host 400 may include responses to commands or data read from the NVM 520. The memory interface 512 may send data to be written to the NVM 520 or may receive data read from the NVM 520. The memory interface 512 may be configured to comply with a standard protocol, such as a switching or open NAND flash interface (ONFI).

[0066] The FTL 514 may perform various functions such as an address mapping operation, a wear leveling operation, and a garbage collection operation. The address mapping operation may be an operation of converting a logical address received from the host 400 into a physical address for actually storing data in the NVM 520. The wear leveling operation may be a technique for preventing excessive degradation of a specific block by allowing the blocks of the NVM 520 to be evenly used. As an example, the wear leveling operation may be implemented using a firmware technique for balancing the erase counts of physical blocks. The garbage collection operation may be a technique for ensuring available capacity in the NVM 520 by erasing an existing block after copying valid data of the existing block to a new block.

[0067] The packet manager 515 may generate a packet according to a protocol of an interface agreed to by the host 400, or may parse various types of information from a packet received from the host 400. In addition, the buffer memory 516 may temporarily store data to be written to or read from the NVM 520. Although the buffer memory 516 may be a component included in the storage controller 510, the buffer memory 516 may be outside the storage controller 510.

[0068] The ECC engine 517 may perform error detection and correction operations on the read data read from the NVM 520. For example, the ECC engine 517 may generate parity bits for the write data to be written to the NVM 520, and the generated parity bits may be stored together with the write data in the NVM 520. During the reading of data from the NVM 520, the ECC engine 517 may correct errors in the read data by using the parity bits read from the NVM 520 together with the read data, and the ECC engine 517 may output the error-corrected read data.

[0069] The AES engine 518 may perform at least one of an encryption operation and / or a decryption operation on data input to the memory controller 510 by using a symmetric key algorithm.

[0070] The terms "including", "comprising", "having" and variations thereof mean "including but not limited to", unless expressly stated otherwise.

[0071] The enumerated listing of items does not imply that any or all of the items are mutually exclusive unless expressly stated otherwise.

[0072] The terms "a", "an" and "the" mean "one or more" unless expressly stated otherwise.

[0073] The description of an embodiment with multiple components in communication with each other does not imply that all such components are required. In addition, various optional components are described to illustrate the various possible embodiments of the inventive concept.

[0074] When a single device or article is described herein, it is obvious to those of ordinary skill in the art that more than one device / article (whether or not they collaborate) may be used in place of a single device / article. Similarly, where more than one device or article is described herein (whether or not they collaborate), it is obvious to those of ordinary skill in the art that a single device / article may be used in place of more than one device / article, or a different number of devices / articles may be used in place of the number of devices or programs shown. The functions and / or features of a device may optionally be embodied by one or more other devices that are not explicitly described as having such functions / features. Therefore, other embodiments of the inventive concept need not include the device itself.

[0075] Figure 3A and Figure 3B The operations shown show the specific events that occur in a particular order. In the embodiments of the inventive concept, some operations can be performed, modified or removed in different orders. In addition, steps can be added to the above logic and can still meet the described embodiments. In addition, the operations described here can occur successively, or some operations can be processed in parallel with each other. In addition, the operations can be performed by a single processing unit or a distributed processing unit.

[0076] Finally, the language used in this specification is primarily selected for readability and instructional purposes, and may not be selected to describe or limit the subject matter of the invention. Therefore, it is intended that the scope of the inventive concept is not limited to this detailed description. Therefore, the disclosure of the embodiments of the inventive concept is intended to illustrate but not to limit the scope of the inventive concept.

[0077] While the inventive concepts have been described with reference to the embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims

1. A method for detecting temperature in a flash memory device, the method comprising: include: receiving input / output (I / O) requests from a host device; Upon receiving an I / O request, determining a turn-on cell count value of a target page within an active block of a flash memory device; comparing a turn-on cell count value of a target page within an active block of a flash memory device with stored turn-on cell count data of a predefined turn-on cell count table; as well as determining a temperature of the flash memory device corresponding to the stored on-cell count value based on the comparison, Wherein, a notification signal is sent to a host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.

2. The method according to claim 1, in, The I / O request is a data write request or a data read request.

3. The method according to claim 1, in, The stored on-cell count data is stored in a flash memory device.

4. The method according to claim 1, in, Prior to receiving an I / O request from a host device, the method includes: receiving a command from a host device at each temperature in a plurality of temperatures; upon receiving the command, measuring a turn-on cell count value of each target page of a block in a flash memory device for each of the plurality of temperatures; and The on-cell count value and the corresponding temperature of each target page of a block in the flash memory device are stored in the flash memory device as on-cell count data.

5. The method according to claim 1, in, Sending a notification signal to a host device based on a temperature of the flash memory device and a threshold operating temperature of the flash memory device includes: When the temperature of the flash memory device is higher than a threshold operating temperature of the flash memory device, sending a notification signal indicating the high operating temperature of the flash memory device to the host device; and When the temperature of the flash memory device is below a threshold operating temperature of the flash memory device, a notification signal indicating the low operating temperature of the flash memory device is sent to the host device.

6. The method according to claim 1, in, Flash memory devices are NAND based devices.

7. The method according to claim 1, in, The target page is a page within a block in a flash memory device whose on-cell count values ​​are to be checked.

8. The method according to claim 1, in, Active blocks are blocks in the flash memory device that are executing I / O requests.

9. A flash memory device, for detecting a temperature in the flash memory device, the flash memory device include: Memory; A communication interface for communicating with a host device; as well as Processor, configured as: receiving input / output (I / O) requests from a host device via a communication interface; Upon receiving an I / O request, determining a turn-on cell count value of a target page within an active block of a flash memory device; comparing an on-cell count value of a target page within an active block of a flash memory device with stored on-cell count data of a predefined on-cell count table; and determining a temperature of the flash memory device corresponding to the stored on-cell count value based on the comparison, Wherein, a notification signal is sent to the host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.

10. The flash memory device according to claim 9, in, The I / O request is a data write request or a data read request.

11. The flash memory device according to claim 9, in, The stored on-cell count data is stored in the flash memory device.

12. The flash memory device according to claim 9, in, The processor configuration is: receiving a command from a host device at each temperature in a plurality of temperatures; upon receiving the command, measuring a conducting cell count value of each target page of a block in a flash memory device for each of the plurality of temperatures; as well as The on-cell count value and the corresponding temperature of each target page of a block in the flash memory device are stored in the flash memory device as on-cell count data.

13. The flash memory device according to claim 9, in, The processor is configured as: sending a notification signal indicating the high operating temperature of the flash memory device to a host device when the temperature of the flash memory device is above a threshold operating temperature of the flash memory device; as well as When the temperature of the flash memory device is below a threshold operating temperature of the flash memory device, a notification signal indicating the low operating temperature of the flash memory device is sent to the host device.

14. The flash memory device according to claim 9, in, Flash memory devices are NAND based devices.

15. The flash memory device according to claim 9, in, The target page is a page within a block in a flash memory device whose on-cell count values ​​are to be checked.

16. The flash memory device according to claim 9, in, Active blocks are blocks in the flash memory device that are running I / O requests.

17. A flash memory device, for detecting a temperature in the flash memory device, wherein the flash memory device include: a memory, including data and a plurality of modules stored therein; Input / output (I / O) interface for communicating with a host device; as well as a processor, communicatively coupled to the plurality of modules, The multiple modules include a transceiver module, a determination module and a comparison module. Wherein, the transceiver module is configured to receive commands from a host device, Among them, determine the module configuration as: upon receiving the command from the host device, measuring a turned-on cell count value of each target page of a block in the flash memory device for each of a plurality of temperatures; storing the on-cell count value and the corresponding temperature of each target page of the block in the flash memory device as on-cell count data in the flash memory device; determining a turn-on cell count value of a target page within an active block of a flash memory device; and A temperature of the flash memory device corresponding to the stored on-cell count value is determined based on a comparison between the on-cell count value of the target page within the active block of the flash memory device and the stored on-cell count data.

18. The flash memory device according to claim 17, in, The determination module is further configured to generate a notification signal to be sent to the host device based on the temperature of the flash memory device and a threshold operating temperature of the flash memory device.

19. The flash memory device according to claim 17, in, The comparison module performs a comparison between an on-cell count value of a target page within an active block of the flash memory device and stored on-cell count data.

20. The flash memory device according to claim 17, in, An on-cell count value of a target page within an active block of a flash memory device is determined in response to an I / O request from a host device.