Device control method, memory storage device and memory control circuit unit
By adjusting the connection interface standard according to the status information of the memory storage device, the problem of increased temperature and power consumption caused by the increase in data transmission rate between the memory storage device and the host system is solved, and the energy conversion rate and user experience are improved.
Patent Information
- Application Number
- CN202410611369.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-27
AI Technical Summary
Increased data transfer rates between memory storage devices and host systems result in increased temperatures and power consumption, affecting user experience and reducing performance/watt ratio.
By adjusting the connection interface standard according to the status information of the memory storage device, from a high-speed interface standard to an appropriate medium-low speed interface standard, the amount of data transmission can be controlled and the energy conversion rate can be improved.
It effectively reduces the temperature and power consumption of the memory storage device, increases the energy conversion rate, and improves user experience and performance-power consumption ratio.
Smart Images

Figure CN118550460A
Abstract
Description
Technical Field
[0001] The present invention relates to a memory control technology, and in particular to a device control method, a memory storage device and a memory control circuit unit. Background Art
[0002] Portable electronic devices such as mobile phones and notebook computers have grown rapidly in recent years, resulting in a rapid increase in consumer demand for storage media. Rewritable non-volatile memory modules (e.g., flash memory) are very suitable for being built into the various portable electronic devices listed above because they have the characteristics of data non-volatility, power saving, small size, and no mechanical structure.
[0003] With the advancement of technology, users' requirements for data transmission rates between memory storage devices and host systems are gradually increasing. Taking the high-speed peripheral component interconnect (PCI Express) standard as an example, from the first generation (Gen 1) to the fifth generation (Gen 5) of the high-speed peripheral component interconnect standard, the supported data transmission rate has increased significantly. However, the increase in the data transmission rate between the memory storage device and the host system has adverse effects on the memory storage device and the host system, including the increase in the temperature of the device and the increase in the power consumption of the device. Excessive temperature will trigger the thermal shutdown protection process of the memory storage device, affecting the user's experience. In addition, if one of the memory storage device and the host system cannot use high-speed transmission or there is no need to use high-speed transmission, the connection interface standard with too high a speed will result in a lower energy conversion rate, that is, reduce the performance per watt of the memory storage device. Summary of the invention
[0004] The present invention provides a device control method, a memory storage device and a memory control circuit unit, which can improve the energy conversion rate of the memory storage device.
[0005] An exemplary embodiment of the present invention provides a device control method for a memory storage device, wherein the memory storage device includes a connection interface unit, the connection interface unit is used to connect to a host system, and the device control method includes: obtaining device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is executing a preset operation; and adjusting a connection interface standard adopted by the connection interface unit from a first connection interface standard to a second connection interface standard according to the device status information, wherein the first connection interface standard is different from the second connection interface standard.
[0006] In an exemplary embodiment of the present invention, the predetermined operation includes at least one of a garbage collection operation, a wear leveling operation, a device self-test operation, and an error control operation.
[0007] In an exemplary embodiment of the present invention, the step of adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard according to the device status information includes: generating an expected amount of data transmission per unit time between the memory storage device and the host system in response to the memory storage device being executed by the preset operation; and adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard according to the expected amount of data transmission per unit time.
[0008] In an exemplary embodiment of the present invention, the step of generating the expected data transfer rate per unit time between the memory storage device and the host system includes: obtaining the expected data transfer rate per unit time corresponding to the preset operation from a comparison table.
[0009] In an exemplary embodiment of the present invention, the device status information further includes a current transmission rate of the memory storage device, and the step of generating the expected data transmission volume per unit time between the memory storage device and the host system includes: based on the preset operation, obtaining the expected data transmission volume per unit time according to the current transmission rate.
[0010] In an exemplary embodiment of the present invention, the device control method further comprises: in response to the preset operation being completed, restoring the connection interface standard adopted by the connection interface unit from the second connection interface standard to the first connection interface standard.
[0011] In an exemplary embodiment of the present invention, the device control method further includes: in response to the preset operation being completed, adjusting the connection interface standard adopted by the connection interface unit from the second connection interface standard to a third connection interface standard according to the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
[0012] In an exemplary embodiment of the present invention, the device control method further includes: receiving a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a designated connection interface standard corresponding to the preset condition; and in response to the preset condition being met, adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard.
[0013] In an exemplary embodiment of the present invention, the device control method further includes: receiving a switching instruction and a specified connection interface standard from the host system; and based on the switching instruction, adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the specified connection interface standard, wherein the first connection interface standard is different from the specified connection interface standard.
[0014] In an exemplary embodiment of the present invention, the connection interface standard adopted by the connection interface unit includes at least two of the Nth generation of the high-speed peripheral component interconnect standard, where N is a positive integer greater than 0.
[0015] In an exemplary embodiment of the present invention, when the connection interface unit adopts the first connection interface standard, the memory storage device has a first upper limit on the amount of data transmitted per unit time, and when the connection interface unit adopts the second connection interface standard, the memory storage device has a second upper limit on the amount of data transmitted per unit time, wherein the first upper limit on the amount of data transmitted per unit time is different from the second upper limit on the amount of data transmitted per unit time.
[0016] An exemplary embodiment of the present invention further provides a memory storage device, which includes a connection interface unit, a rewritable non-volatile memory module and a memory control circuit unit. The connection interface unit is used to connect to a host system. The memory control circuit unit is connected to the connection interface unit and the rewritable non-volatile memory module, wherein the memory control circuit unit is used to: obtain device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is performing a preset operation; and according to the device status information, adjust the connection interface standard used by the connection interface unit from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard.
[0017] In an exemplary embodiment of the present invention, the operation of the memory control circuit unit adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard based on the device status information includes: generating an expected data transmission volume per unit time between the memory storage device and the host system in response to the memory storage device being executed by the preset operation; and adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard based on the expected data transmission volume per unit time.
[0018] In an exemplary embodiment of the present invention, the operation of the memory control circuit unit generating the expected data transfer amount per unit time between the memory storage device and the host system includes: obtaining the expected data transfer amount per unit time corresponding to the preset operation from a comparison table.
[0019] In an exemplary embodiment of the present invention, the device status information further includes a current transmission rate of the memory storage device, and the operation of the memory control circuit unit to generate the expected data transmission volume per unit time between the memory storage device and the host system includes: based on the preset operation, obtaining the expected data transmission volume per unit time according to the current transmission rate.
[0020] In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to: in response to the preset operation being completed, restore the connection interface standard adopted by the connection interface unit from the second connection interface standard to the first connection interface standard.
[0021] In an exemplary embodiment of the present invention, the memory control circuit unit is further used to: in response to the preset operation being completed, adjust the connection interface standard adopted by the connection interface unit from the second connection interface standard to a third connection interface standard according to the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
[0022] In an exemplary embodiment of the present invention, the memory control circuit unit is further used to: receive a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a specified connection interface standard corresponding to the preset condition; and in response to the preset condition being met, adjust the connection interface standard adopted by the connection interface unit from the first connection interface standard to the specified connection interface standard, wherein the first connection interface standard is different from the specified connection interface standard.
[0023] In an exemplary embodiment of the present invention, the memory control circuit unit is further used to: receive a switching instruction and a specified connection interface standard from the host system; and based on the switching instruction, adjust the connection interface standard adopted by the connection interface unit from the first connection interface standard to the specified connection interface standard, wherein the first connection interface standard is different from the specified connection interface standard.
[0024] An exemplary embodiment of the present invention further provides a memory control circuit unit, which is used to control a memory storage device, wherein the memory storage device includes a connection interface unit, the connection interface unit is used to connect to a host system, and the memory control circuit unit includes a host interface, a memory interface and a memory management circuit. The host interface is used to connect to the connection interface unit. The memory interface is used to connect to the rewritable non-volatile memory module. The memory management circuit is connected to the host interface and the memory interface, wherein the memory management circuit is used to: obtain device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is performing a preset operation; and according to the device status information, adjust the connection interface standard used by the connection interface unit from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard.
[0025] In an exemplary embodiment of the present invention, the operation of the memory management circuit adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard based on the device status information includes: generating an expected data transfer volume per unit time between the memory storage device and the host system in response to the memory storage device being executed by the preset operation; and adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard based on the expected data transfer volume per unit time.
[0026] In an exemplary embodiment of the present invention, the operation of the memory management circuit generating the expected data transfer rate per unit time between the memory storage device and the host system includes: obtaining the expected data transfer rate per unit time corresponding to the preset operation from a comparison table.
[0027] In an exemplary embodiment of the present invention, the device status information further includes a current transmission rate of the memory storage device, and the operation of the memory management circuit to generate the expected data transmission volume per unit time between the memory storage device and the host system includes: based on the preset operation, obtaining the expected data transmission volume per unit time according to the current transmission rate.
[0028] In an exemplary embodiment of the present invention, the memory management circuit is further configured to: in response to the preset operation being completed, restore the connection interface standard adopted by the connection interface unit from the second connection interface standard to the first connection interface standard.
[0029] In an exemplary embodiment of the present invention, the memory management circuit is further used to: in response to the preset operation being completed, adjust the connection interface standard adopted by the connection interface unit from the second connection interface standard to a third connection interface standard according to the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
[0030] In an exemplary embodiment of the present invention, the memory management circuit is further used to: receive a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a specified connection interface standard corresponding to the preset condition; and in response to the preset condition being met, adjust the connection interface standard adopted by the connection interface unit from the first connection interface standard to the specified connection interface standard, wherein the first connection interface standard is different from the specified connection interface standard.
[0031] In an exemplary embodiment of the present invention, the memory management circuit is further used to: receive a switching instruction and a specified connection interface standard from the host system; and based on the switching instruction, adjust the connection interface standard adopted by the connection interface unit from the first connection interface standard to the specified connection interface standard, wherein the first connection interface standard is different from the specified connection interface standard.
[0032] Based on the above, the device control method, memory storage device and memory control circuit unit of the present invention adjust the connection interface standard adopted by the connection interface unit of the memory storage device according to the device status information used to reflect whether the memory storage device is executing a preset operation, so as to improve the energy conversion rate of the memory storage device. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a schematic diagram of a host system, a memory storage device, and an input / output (I / O) device according to an exemplary embodiment of the present invention;
[0034] Figure 2 is a schematic diagram of a host system, a memory storage device, and an I / O device according to an exemplary embodiment of the present invention;
[0035] Figure 3 is a schematic diagram of a host system and a memory storage device according to an exemplary embodiment of the present invention;
[0036] Figure 4 is a schematic block diagram of a memory storage device according to an exemplary embodiment of the present invention;
[0037] Figure 5 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment of the present invention;
[0038] Figure 6 is a schematic diagram of managing a rewritable non-volatile memory module according to an exemplary embodiment of the present invention;
[0039] Figure 7 is a schematic diagram of rate upper limits and maximum transmission rates of various connection interface standards according to an exemplary embodiment of the present invention;
[0040] Figure 8 is a flow chart of a device control method according to an exemplary embodiment of the present invention;
[0041] Fig. 9 is a flow chart of a device control method according to an exemplary embodiment of the present invention;
[0042] Fig.10is a flow chart of a device control method according to an exemplary embodiment of the present invention;
[0043] Fig.11 is a flow chart of a device control method according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0044] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0045] Generally speaking, a memory storage device (also known as a memory storage system) includes a rewritable non-volatile memory module and a controller (also known as a control circuit). The memory storage device can be used together with a host system so that the host system can write data to the memory storage device or read data from the memory storage device.
[0046] Figure 1 is a schematic diagram of a host system, a memory storage device, and an input / output (I / O) device according to an exemplary embodiment of the present invention. Figure 2 is a schematic diagram of a host system, a memory storage device, and an I / O device according to an exemplary embodiment of the present invention.
[0047] Please refer to Figure 1 and Figure 2 The host system 11 may include a processor 111, a random access memory (RAM) 112, a read only memory (ROM) 113, and a data transmission interface 114. The processor 111, the random access memory 112, the read only memory 113, and the data transmission interface 114 may be connected to a system bus 110.
[0048] In an exemplary embodiment, the host system 11 may be connected to the memory storage device 10 via the data transmission interface 114. For example, the host system 11 may store data to the memory storage device 10 or read data from the memory storage device 10 via the data transmission interface 114. In addition, the host system 11 may be connected to the I / O device 12 via the system bus 110. For example, the host system 11 may transmit an output signal to the I / O device 12 or receive an input signal from the I / O device 12 via the system bus 110.
[0049] In an exemplary embodiment, the processor 111, the random access memory 112, the read-only memory 113 and the data transmission interface 114 may be disposed on the motherboard 20 of the host system 11. The number of the data transmission interface 114 may be one or more. Through the data transmission interface 114, the motherboard 20 may be connected to the memory storage device 10 via a wired or wireless manner.
[0050] In an exemplary embodiment, the memory storage device 10 may be, for example, a USB flash drive 201, a memory card 202, a solid state drive (SSD) 203, or a wireless memory storage device 204. The wireless memory storage device 204 may be, for example, a near field communication (NFC) memory storage device, a wireless fax (WiFi) memory storage device, a Bluetooth memory storage device, or a low power Bluetooth memory storage device (e.g., iBeacon) and other memory storage devices based on various wireless communication technologies. In addition, the motherboard 20 may also be connected to various I / O devices such as a global positioning system (GPS) module 205, a network interface card 206, a wireless transmission device 207, a keyboard 208, a screen 209, a speaker 210, etc. through the system bus 110. For example, in an exemplary embodiment, the motherboard 20 may access the wireless memory storage device 204 through the wireless transmission device 207.
[0051] In one exemplary embodiment, the host system 11 is a computer system. In one exemplary embodiment, the host system 11 can be any system that can substantially cooperate with the memory storage device to store data. In one exemplary embodiment, the memory storage device 10 and the host system 11 can respectively include Figure 3 A memory storage device 30 and a host system 31.
[0052] Figure 3 is a schematic diagram of a host system and a memory storage device according to an exemplary embodiment of the present invention. Figure 3, the memory storage device 30 can be used in conjunction with a host system 31 to store data. For example, the host system 31 can be a system such as a digital camera, a video camera, a communication device, an audio player, a video player, or a tablet computer. For example, the memory storage device 30 can be various non-volatile memory storage devices such as a Secure Digital (SD) card 32, a Compact Flash (CF) card 33, or an embedded storage device 34 used by the host system 31. The embedded storage device 34 includes various types of embedded storage devices that directly connect the memory module to the substrate of the host system, such as an embedded Multi Media Card (eMMC) 341 and / or an embedded Multi Chip Package (eMCP) storage device 342.
[0053] Figure 4 is a schematic diagram of a memory storage device according to an exemplary embodiment of the present invention. Figure 4 The memory storage device 10 includes a connection interface unit 41, a memory control circuit unit 42 and a rewritable non-volatile memory module 43.
[0054] The connection interface unit 41 is used to connect to the host system 11. The memory storage device 10 can communicate with the host system 11 via the connection interface unit 41. In an exemplary embodiment, the connection interface unit 41 is compatible with the Peripheral Component Interconnect Express (PCI Express) standard. However, it should be understood that the present invention is not limited thereto, and the connection interface unit 41 may also comply with the Serial Advanced Technology Attachment (SATA) standard, the Parallel Advanced Technology Attachment (PATA) standard, the Institute of Electrical and Electronic Engineers (IEEE) 1394 standard, the Universal Serial Bus (USB) standard, the SD interface standard, the Ultra High Speed-I (UHS-I) interface standard, the Ultra High Speed-II (UHS-II) interface standard, the Memory Stick (MS) interface standard, the MCP interface standard, the MMC interface standard, the eMMC interface standard, the Universal Flash Storage (UFS) interface standard, the eMCP interface standard, the CF interface standard, the Integrated Device Electronics (IDE) standard or other suitable standards. The connection interface unit 41 and the memory control circuit unit 42 may be packaged in one chip, or the connection interface unit 41 may be disposed outside a chip including the memory control circuit unit 42 .
[0055] The memory control circuit unit 42 is connected to the connection interface unit 41 and the rewritable non-volatile memory module 43. The memory control circuit unit 42 is used to execute a plurality of logic gates or control instructions implemented in hardware or firmware and to perform operations such as writing, reading and erasing data in the rewritable non-volatile memory module 43 according to the instructions of the host system 11.
[0056] The rewritable non-volatile memory module 43 is used to store data written by the host system 11. The rewritable non-volatile memory module 43 may include a single-level cell (SLC) NAND flash memory module (i.e., a flash memory module that can store 1 bit in one storage cell), a multi-level cell (MLC) NAND flash memory module (i.e., a flash memory module that can store 2 bits in one storage cell), a triple-level cell (TLC) NAND flash memory module (i.e., a flash memory module that can store 3 bits in one storage cell), a quad-level cell (QLC) NAND flash memory module (i.e., a flash memory module that can store 4 bits in one storage cell), other flash memory modules, or other memory modules with the same characteristics.
[0057] Each memory cell in the rewritable non-volatile memory module 43 stores one or more bits by changing the voltage (hereinafter also referred to as the critical voltage). Specifically, there is a charge capture layer between the control gate and the channel of each memory cell. By applying a write voltage to the control gate, the amount of electrons in the charge capture layer can be changed, thereby changing the critical voltage of the memory cell. This operation of changing the critical voltage of the memory cell is also called "writing data to the memory cell" or "programming the memory cell". As the critical voltage changes, each memory cell in the rewritable non-volatile memory module 43 has multiple storage states. By applying a read voltage, it is possible to determine which storage state a memory cell belongs to, thereby obtaining one or more bits stored in this memory cell.
[0058] In an exemplary embodiment, the memory cells of the rewritable non-volatile memory module 43 may constitute a plurality of physical programming units, and these physical programming units may constitute a plurality of physical erasing units. Specifically, the memory cells on the same word line may constitute one or more physical programming units. If each memory cell can store more than 2 bits, the physical programming units on the same word line may be classified into at least a lower physical programming unit and an upper physical programming unit. For example, the least significant bit (LSB) of a memory cell belongs to the lower physical programming unit, and the most significant bit (MSB) of a memory cell belongs to the upper physical programming unit. Generally speaking, in an MLC NAND flash memory, the write speed of the lower physical programming unit is greater than the write speed of the upper physical programming unit, and / or the reliability of the lower physical programming unit is higher than the reliability of the upper physical programming unit.
[0059] In an exemplary embodiment, the physical programming unit is the smallest unit of programming. That is, the physical programming unit is the smallest unit for writing data. For example, the physical programming unit may be a physical page or a physical sector. If the physical programming unit is a physical page, these physical programming units may include a data bit area and a redundancy bit area. The data bit area includes a plurality of physical sectors for storing user data, and the redundancy bit area is used to store system data (for example, management data such as error correction codes). In an exemplary embodiment, the data bit area includes 32 physical sectors, and the size of a physical sector is 512 bytes (byte, B). However, in other exemplary embodiments, the data bit area may also include 8, 16 or more or less physical sectors, and the size of each physical sector may also be larger or smaller. On the other hand, the physical erasure unit is the smallest unit of erasure. That is, each physical erasure unit contains the minimum number of storage cells that are erased together. For example, the physical erasure unit is a physical block.
[0060] Figure 5 is a schematic diagram of a memory control circuit unit according to an exemplary embodiment of the present invention. Figure 5 The memory control circuit unit 42 includes a memory management circuit 51 , a host interface 52 and a memory interface 53 .
[0061] The memory management circuit 51 is used to control the overall operation of the memory control circuit unit 42. Specifically, the memory management circuit 51 has a plurality of control instructions, and when the memory storage device 10 operates, these control instructions are executed to perform operations such as writing, reading and erasing data. The following description of the operation of the memory management circuit 51 is equivalent to the description of the operation of the memory control circuit unit 42.
[0062] In an exemplary embodiment, the control instructions of the memory management circuit 51 are implemented in the form of firmware. For example, the memory management circuit 51 has a microprocessor unit (not shown) and a read-only memory (not shown), and these control instructions are burned into the read-only memory. When the memory storage device 10 is operating, these control instructions are executed by the microprocessor unit to perform operations such as writing, reading and erasing data.
[0063] In an exemplary embodiment, the control instructions of the memory management circuit 51 can also be stored in a specific area of the rewritable non-volatile memory module 43 (for example, a system area in the memory module dedicated to storing system data) in the form of program code. In addition, the memory management circuit 51 has a microprocessor unit (not shown), a read-only memory (not shown) and a random access memory (not shown). In particular, the read-only memory has a boot code, and when the memory control circuit unit 42 is enabled, the microprocessor unit will first execute the boot code to load the control instructions stored in the rewritable non-volatile memory module 43 into the random access memory of the memory management circuit 51. Afterwards, the microprocessor unit will run these control instructions to perform operations such as writing, reading and erasing data.
[0064] In an exemplary embodiment, the control instructions of the memory management circuit 51 can also be implemented in a hardware form. For example, the memory management circuit 51 includes a microcontroller, a storage unit management circuit, a memory write circuit, a memory read circuit, a memory erase circuit and a data processing circuit. The storage unit management circuit, the memory write circuit, the memory read circuit, the memory erase circuit and the data processing circuit are connected to the microcontroller. The storage unit management circuit is used to manage the storage unit or storage unit group of the rewritable non-volatile memory module 43. The memory write circuit is used to issue a write instruction sequence to the rewritable non-volatile memory module 43 to write data into the rewritable non-volatile memory module 43. The memory read circuit is used to issue a read instruction sequence to the rewritable non-volatile memory module 43 to read data from the rewritable non-volatile memory module 43. The memory erase circuit is used to issue an erase instruction sequence to the rewritable non-volatile memory module 43 to erase data from the rewritable non-volatile memory module 43. The data processing circuit is used to process data to be written to the rewritable non-volatile memory module 43 and data to be read from the rewritable non-volatile memory module 43. The write command sequence, the read command sequence and the erase command sequence may each include one or more program codes or command codes and are used to instruct the rewritable non-volatile memory module 43 to perform corresponding write, read and erase operations. In an exemplary embodiment, the memory management circuit 51 may also issue other types of command sequences to the rewritable non-volatile memory module 43 to instruct the execution of corresponding operations.
[0065] The host interface 52 is connected to the memory management circuit 51. The memory management circuit 51 can communicate with the host system 11 through the host interface 52. The host interface 52 can be used to receive and identify instructions and data transmitted by the host system 11. For example, the instructions and data transmitted by the host system 11 can be transmitted to the memory management circuit 51 through the host interface 52. In addition, the memory management circuit 51 can transmit data to the host system 11 through the host interface 52. In this exemplary embodiment, the host interface 52 is compatible with the PCI Express standard. However, it should be understood that the present invention is not limited to this, and the host interface 52 can also be compatible with the SATA standard, the PATA standard, the IEEE 1394 standard, the USB standard, the SD standard, the UHS-I standard, the UHS-II standard, the MS standard, the MMC standard, the eMMC standard, the UFS standard, the CF standard, the IDE standard or other suitable data transmission standards.
[0066] The memory interface 53 is connected to the memory management circuit 51 and is used to access the rewritable non-volatile memory module 43. For example, the memory management circuit 51 can access the rewritable non-volatile memory module 43 through the memory interface 53. That is, the data to be written to the rewritable non-volatile memory module 43 will be converted into a format acceptable to the rewritable non-volatile memory module 43 through the memory interface 53. Specifically, if the memory management circuit 51 wants to access the rewritable non-volatile memory module 43, the memory interface 53 will transmit a corresponding instruction sequence. For example, these instruction sequences may include a write instruction sequence indicating writing data, a read instruction sequence indicating reading data, an erase instruction sequence indicating erasing data, and corresponding instruction sequences for indicating various memory operations (for example, changing the read voltage level or performing a garbage collection (GC) operation, etc.). These instruction sequences are, for example, generated by the memory management circuit 51 and transmitted to the rewritable non-volatile memory module 43 through the memory interface 53. These instruction sequences may include one or more signals, or data on the bus. These signals or data may include instruction codes or program codes. For example, in a read instruction sequence, information such as a read identification code and a memory address may be included.
[0067] In an exemplary embodiment, the memory control circuit unit 42 further includes an error checking and correction circuit 54 , a buffer memory 55 , and a power management circuit 56 .
[0068] The error checking and correction circuit 54 is connected to the memory management circuit 51 and is used to perform error checking and correction operations to ensure the correctness of data. Specifically, when the memory management circuit 51 receives a write command from the host system 11, the error checking and correction circuit 54 generates a corresponding error correction code (ECC) and / or error detecting code (EDC) for the data corresponding to the write command, and the memory management circuit 51 writes the data corresponding to the write command and the corresponding error correction code and / or error checking code into the rewritable non-volatile memory module 43. Afterwards, when the memory management circuit 51 reads data from the rewritable non-volatile memory module 43, the error correction code and / or error checking code corresponding to the data will be read at the same time, and the error checking and correction circuit 54 will perform error checking and correction operations on the read data according to the error correction code and / or error checking code.
[0069] The buffer memory 55 is connected to the memory management circuit 51 and is used to cache data. The power management circuit 56 is connected to the memory management circuit 51 and is used to control the power of the memory storage device 10 .
[0070] In an exemplary embodiment, Figure 4 The rewritable non-volatile memory module 43 may include a flash memory module. In an exemplary embodiment, Figure 4 The memory control circuit unit 42 may include a flash memory controller. In an exemplary embodiment, Figure 5 The memory management circuit 51 may include a flash memory management circuit.
[0071] Figure 6 FIG. 1 is a schematic diagram of managing a rewritable non-volatile memory module according to an exemplary embodiment of the present invention. Figure 6 The memory management circuit 51 may logically group the physical units 610 ( 0 ) to 610 (B) in the rewritable non-volatile memory module 43 into a storage area 601 and a spare area 602 .
[0072] In an exemplary embodiment, a physical unit refers to a physical address or a physical programming unit. In an exemplary embodiment, a physical unit may also be composed of multiple continuous or discontinuous physical addresses. In an exemplary embodiment, a physical unit may also refer to a virtual block (VB). A virtual block may include multiple physical addresses or multiple physical programming units. In an exemplary embodiment, a virtual block may include one or more physical erase units.
[0073] The physical units 610(0)-610(A) in the storage area 601 are used to store user data (e.g. Figure 1 The user data of the host system 11 of the storage area 601). For example, the physical units 610(0)~610(A) in the storage area 601 can store valid data and invalid data. The physical units 610(A+1)~610(B) in the idle area 602 do not store data (such as valid data). For example, if a physical unit does not store valid data, this physical unit can be associated (or added) to the idle area 602. In addition, the physical units in the idle area 602 (or the physical units that do not store valid data) can be erased. When writing new data, one or more physical units can be extracted from the idle area 602 to store the new data. In an exemplary embodiment, the idle area 602 is also called a free pool.
[0074] The memory management circuit 51 can configure the logical units 612(0)-612(C) to map the physical units 610(0)-610(A) in the storage area 601. In an exemplary embodiment, each logical unit corresponds to a logical address. For example, a logical address may include one or more logical block addresses (LBAs) or other logical management units. In an exemplary embodiment, a logical unit may also correspond to a logical programming unit or be composed of multiple continuous or discontinuous logical addresses.
[0075] It should be noted that a logical unit can be mapped to one or more physical units. If a physical unit is currently mapped by a logical unit, it means that the data currently stored in the physical unit includes valid data. On the contrary, if a physical unit is not currently mapped by any logical unit, it means that the data currently stored in the physical unit is invalid data.
[0076] The memory management circuit 51 may record management data describing the mapping relationship between the logical unit and the physical unit (also referred to as logical-to-physical mapping information) in at least one logical-to-physical mapping table. When the host system 11 wishes to read data from the memory storage device 10 or write data to the memory storage device 10, the memory management circuit 51 may access the rewritable non-volatile memory module 43 according to the information in the logical-to-physical mapping table.
[0077] In an exemplary embodiment, the connection interface standard that the connection interface unit 41 can adopt may include at least two of the Nth generation of the PCI Express standard, where N is a positive integer greater than 0. For example, the connection interface standard that the connection interface unit 41 can adopt may include at least two of the first generation (Gen 1), the second generation (Gen 2), the third generation (Gen 3), the fourth generation (Gen 4) and the fifth generation (Gen 5) of the PCI Express standard. Therefore, in an exemplary embodiment, the first connection interface standard may be one of PCI Express Gen 1, Gen 2, Gen 3, Gen 4 and Gen 5, and the second connection interface standard may be another one of PCI Express Gen 1, Gen 2, Gen 3, Gen 4 and Gen 5. In an exemplary embodiment, the connection interface unit 41 may also adopt other types of connection interface standards, which are not limited by the present invention.
[0078] Figure 7 is a schematic diagram of the upper rate limits and maximum transmission rates of various connection interface standards according to an exemplary embodiment of the present invention. Figure 7In one exemplary embodiment, table 71 records the upper rate limits and the maximum transmission rates of various connection interface standards that can be adopted by the connection interface unit 41. For example, the information in table 71 can present the upper rate limits and the maximum transmission rates of the data transmission per unit time of the memory storage device 10 (or the connection interface unit 41) under different connection interface standards. In one exemplary embodiment, the upper rate limit of the data transmission per unit time is also referred to as the upper rate limit. In one exemplary embodiment, the upper rate limit of the data transmission per unit time can reflect the maximum value of the data transmission per unit time allowed between the memory storage device 10 and the host system 11.
[0079] For example, when the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 1, the upper limit of the data transmission amount per unit time of the connection interface unit 41 is 2.5GT / s (Gigatransfer per second). When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 2, the upper limit of the data transmission amount per unit time of the connection interface unit 41 is 5GT / s. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 3, the upper limit of the data transmission amount per unit time of the connection interface unit 41 is 8GT / s. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 4, the upper limit of the data transmission amount per unit time of the connection interface unit 41 is 16GT / s. When the connection interface standard adopted by the connection interface unit 41 is PCIeGen 5, the upper limit of the data transmission amount per unit time of the connection interface unit 41 is 32GT / s.
[0080] For example, the connection interface unit 41 has 4 lanes. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 1, the maximum transmission rate of the connection interface unit 41 is (2.5GT / s)×(4Lane)÷(8Byte / T)=1.25GB / s. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 2, the maximum transmission rate of the connection interface unit 41 is 2.5GB / s. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 3, the maximum transmission rate of the connection interface unit 41 is 4GB / s. When the connection interface standard adopted by the connection interface unit 41 is PCIe Gen 4, the maximum transmission rate of the connection interface unit 41 is 8GB / s. When the connection interface standard adopted by the connection interface unit 41 is PCIeGen 5, the maximum transmission rate of the connection interface unit 41 is 16GB / s. However, in an exemplary embodiment, all information in Table 71 can be adjusted according to practical needs, and the present invention is not limited thereto.
[0081] In an exemplary embodiment, the memory management circuit 51 may obtain device status information of the memory storage device 10. The device status information reflects whether the memory storage device 10 is executing a preset operation. For example, during the period when the memory storage device 10 executes the preset operation, the memory storage device 10 is in a busy state, resulting in a decrease in the amount of data transferred per unit time between the memory storage device 10 and the host system 11. For example, during the period when the memory storage device 10 executes the preset operation, the amount of data transferred per unit time of the memory storage device 10 may be affected by the preset operation. For example, the preset operation may include, but is not limited to, at least one of a garbage collection operation, a wear leveling (WL) operation, a device self-test (DST) operation, and an error handling (Error Handle) operation.
[0082] In an exemplary embodiment, the garbage collection operation may be used to copy valid data from a certain physical unit (also referred to as a source unit) in the rewritable non-volatile memory module 43 to another physical unit (also referred to as a target unit) to release new idle physical units. For example, the released idle physical units may be added to Figure 6 The idle area 602 is used to increase the total number of physical units in the idle area 602.
[0083] In an exemplary embodiment, the wear leveling operation is also used to copy valid data from a certain physical unit (i.e., source unit) in the rewritable non-volatile memory module 43 to another physical unit (i.e., target unit). However, unlike the garbage collection operation, the wear leveling operation is used to perform wear leveling on multiple physical units with different wear levels in the rewritable non-volatile memory module 43. For example, the wear leveling may refer to the balance of programming times, erasing times, and / or reading times among multiple physical units.
[0084] In an exemplary embodiment, the device self-test operation may be used to perform a large number of read operations or a variety of test algorithms on the rewritable non-volatile memory module 43 to check the health status of the memory storage device 10. For example, the device self-test operation may be triggered by the host system 11 or by the memory storage device 10 according to a specific condition.
[0085] In an exemplary embodiment, the error control operation may be used to execute an error handling mechanism on a channel or address corresponding to a command after the command fails (eg, read fails, erase fails, or write fails) to prevent the failed command from being generated again.
[0086] In an exemplary embodiment, the memory management circuit 51 may adjust the connection interface standard used by the connection interface unit 41 according to the device status information. For example, the memory management circuit 51 may adjust the connection interface standard used by the connection interface unit 41 from a certain connection interface standard (also referred to as a first connection interface standard) to another connection interface standard (also referred to as a second connection interface standard) according to the device status information. The first connection interface standard is different from the second connection interface standard.
[0087] In an exemplary embodiment, when the connection interface unit 41 adopts a first connection interface standard, the memory storage device 10 may have a specific upper limit of the amount of data transmitted per unit time (also referred to as the first upper limit of the amount of data transmitted per unit time). When the connection interface unit 41 adopts a second connection interface standard, the memory storage device 10 may have another upper limit of the amount of data transmitted per unit time (also referred to as the second upper limit of the amount of data transmitted per unit time). The first upper limit of the amount of data transmitted per unit time is different from the second upper limit of the amount of data transmitted per unit time. For example, the first upper limit of the amount of data transmitted per unit time may be higher or lower than the second upper limit of the amount of data transmitted per unit time.
[0088] In an exemplary embodiment, during the period when the memory storage device 10 performs the preset operation, the data transmission volume per unit time of the memory storage device 10 may be reduced due to the influence of the preset operation. At this time, even if the connection interface standard (such as PCIE Gen 5) currently adopted by the connection interface unit 41 may have a higher upper limit of the data transmission speed, due to the influence of the preset operation, the actual data transmission volume per unit time of the memory storage device 10 often cannot reach the expected maximum data transmission rate.
[0089] In an exemplary embodiment, the memory management circuit 51 can determine whether the memory storage device 10 is executing the preset operation according to the device status information. If the memory storage device 10 is executing the preset operation, the memory management circuit 51 can generate an expected data transmission volume per unit time between the memory storage device 10 and the host system 11, and adjust the connection interface standard used by the connection interface unit 41 from the first connection interface standard to the second connection interface standard according to the expected data transmission volume per unit time, so as to improve the energy conversion rate of the memory storage device 10.
[0090] In an exemplary embodiment, the memory management circuit 51 may generate the expected data transfer rate per unit time by looking up a table. For example, the memory management circuit 51 may record the maximum transfer rate corresponding to each preset operation in a comparison table. Then, the memory management circuit 51 may obtain the maximum transfer rate (e.g., 6GB / s) corresponding to the preset operation from the comparison table, and determine that the maximum transfer rate 6GB / s is between the maximum transfer rate 4GB / s of PCIe Gen 3 and the maximum transfer rate 8GB / s of PCIe Gen4. Accordingly, the memory management circuit 51 may determine that the expected data transfer rate per unit time when executing the preset operation is 16GT / s corresponding to PCIe Gen 4. Next, the memory management circuit 51 may adjust the connection interface standard adopted by the connection interface unit 41 from PCIE Gen 5 to PCIe Gen 4 to improve the energy conversion rate of the memory storage device 10.
[0091] In an exemplary embodiment, the device status information includes but is not limited to the current transfer rate of the memory storage device 10. The memory management circuit 51 can obtain the expected data transfer amount per unit time according to the current transfer rate based on the preset operation. For example, the current transfer rate (e.g., 5.5 GB / s) under the condition of performing the preset operation, the memory management circuit 51 uses the current transfer rate as a reference to estimate the maximum transfer rate (e.g., 6 GB / s) under the condition of performing the preset operation, and determines that the maximum transfer rate 6 GB / s is between the maximum transfer rate 4 GB / s of PCIe Gen 3 and the maximum transfer rate 8 GB / s of PCIe Gen 4. Based on this, the memory management circuit 51 can determine that the expected data transfer amount per unit time when performing the preset operation is 16 GT / s corresponding to PCIe Gen 4. Then, the memory management circuit 51 can adjust the connection interface standard adopted by the connection interface unit 41 from PCIE Gen 5 to PCIeGen 4 to improve the energy conversion rate of the memory storage device 10.
[0092] In an exemplary embodiment, after the preset operation is completed, the memory management circuit 51 may restore the connection interface standard used by the connection interface unit 41 to the previous connection interface standard. For example, the memory management circuit 51 may restore the connection interface standard used by the connection interface unit 41 from PCIE Gen 4 to PCIE Gen 5 to avoid reducing the performance-to-power ratio of the memory storage device 10.
[0093] In an exemplary embodiment, after the preset operation is completed, the memory management circuit 51 may adjust the connection interface standard (i.e., the second connection interface standard) adopted by the connection interface unit 41 to another connection interface standard (also referred to as the third connection interface standard). For example, the memory management circuit 51 may adjust the connection interface standard adopted by the connection interface unit 41 from PCIE Gen 4 to the third connection interface standard (e.g., PCIE Gen 3) according to the current temperature of the memory storage device 10 and / or the number of commands to be completed, so as to avoid reducing the performance-to-power ratio of the memory storage device 10. The third connection interface standard is different from the first connection interface standard and the second connection interface standard. In other words, the upper limit of the amount of data transmitted per unit time of the third connection interface standard is different from the upper limit of the amount of data transmitted per unit time of the first connection interface standard and the upper limit of the amount of data transmitted per unit time of the second connection interface standard. For example, the upper limit of the amount of data transmitted per unit time of the third connection interface standard may be higher or lower than the upper limit of the amount of data transmitted per unit time of the first connection interface standard and the upper limit of the amount of data transmitted per unit time of the second connection interface standard.
[0094] In an exemplary embodiment, the connection interface standard adopted by the connection interface unit 41 can also be set by the user. For example, the memory management circuit 51 can receive a switching instruction and a specified connection interface standard (e.g., PCIE Gen 2) from the host system 11. Then, the memory management circuit 51 can adjust the connection interface standard adopted by the connection interface unit 41 from the first connection interface standard PCIE Gen 5 to the specified connection interface standard PCIE Gen 2 based on the switching instruction. The upper limit of the data transmission amount per unit time of the first connection interface standard is different from the upper limit of the data transmission amount per unit time of the specified connection interface standard. For example, the upper limit of the data transmission amount per unit time of the first connection interface standard can be higher or lower than the upper limit of the data transmission amount per unit time of the specified connection interface standard.
[0095] In an exemplary embodiment, the adjustment method of the connection interface standard adopted by the connection interface unit 41 can also be preset by the user. For example, the memory management circuit 51 can receive a power state protocol from the host system 11. For example, the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit 41 and a specified connection interface standard (e.g., PCIE Gen 2) corresponding to the preset condition. For example, when a preset condition in the power state protocol is met, the memory management circuit 51 can adjust the connection interface standard adopted by the connection interface unit 41 from the first connection interface standard PCIEGen 5 to the specified connection interface standard PCIE Gen 2. Then, when another preset condition in the power state protocol is met, the memory management circuit 51 can adjust the connection interface standard adopted by the connection interface unit 41 from PCIE Gen 2 to another connection interface standard (e.g., PCIE Gen 1).
[0096] Figure 8 is a flow chart of a device control method according to an exemplary embodiment of the present invention. Figure 8 In step S801, a switching instruction and a designated connection interface standard are received from the host system. In step S802, based on the switching instruction, the connection interface standard used by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard.
[0097] Fig. 9 is a flow chart of a device control method according to an exemplary embodiment of the present invention. Fig. 9 In step S901, a power state protocol is received from the host system, wherein the power state protocol reflects a preset condition for adjusting the connection interface standard adopted by the connection interface unit and its corresponding designated connection interface standard. In step S902, it is determined whether the preset condition is satisfied. If the preset condition is not satisfied, step S902 is repeated; otherwise, if the preset condition is satisfied, step S903 is continued. In step S903, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard.
[0098] Fig.10 is a flow chart of a device control method according to an exemplary embodiment of the present invention. Fig.10In step S1001, the device status information of the memory storage device is obtained. In step S1002, it is determined whether the memory storage device is executing a preset operation. If the memory storage device is not executing the preset operation, step S1001 is repeated; conversely, if the memory storage device is executing the preset operation, step S1003 is continued. In step S1003, an expected data transmission volume per unit time between the memory storage device and the host system is generated. In step S1004, according to the expected data transmission volume per unit time, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the second connection interface standard.
[0099] Fig.11 is a flow chart of a device control method according to an exemplary embodiment of the present invention. Fig.11 In step S1101, device status information of the memory storage device is obtained, wherein the device status information reflects whether the memory storage device is executing a preset operation. In step S1102, according to the device status information, a connection interface standard adopted by the connection interface unit is adjusted from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard.
[0100] about Figures 8 to 11 The steps in the above are described in detail, so they will not be repeated here. It is worth noting that Figures 8 to 11 Each step in the above process can be implemented as multiple program codes or circuits, and the present invention is not limited thereto. Figures 8 to 11 The method can be used in conjunction with the above exemplary embodiments or can be used alone, and the present invention is not limited thereto.
[0101] In summary, the device control method, memory storage device and memory control circuit unit of the present invention adjust the connection interface standard adopted by the connection interface unit of the memory storage device according to the device status information used to reflect whether the memory storage device is executing a preset operation, so as to improve the energy conversion rate of the memory storage device.
[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A device control method, characterized in that: For a memory storage device, wherein the memory storage device comprises a connection interface unit, the connection interface unit is used to couple to a host system, and the device control method comprises: Obtaining device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is executing a preset operation; and According to the device status information, a connection interface standard adopted by the connection interface unit is adjusted from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard. 2 . The device control method according to claim 1 , wherein the preset operation comprises at least one of a garbage collection operation, a wear leveling operation, a device self-test operation, and an error control operation.
3. The device control method according to claim 1, wherein the step of adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard according to the device status information comprises: In response to the memory storage device executing the preset operation, generating an expected data transmission volume per unit time between the memory storage device and the host system; as well as According to the expected data transmission volume per unit time, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the second connection interface standard.
4. The device control method according to claim 3, wherein the step of generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: The expected transmission amount per unit time corresponding to the preset operation is obtained from a comparison table.
5. The device control method according to claim 3, wherein the device status information further includes a current transfer rate of the memory storage device, and the step of generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: Based on the preset operation, the expected data transmission volume per unit time is obtained according to the current transmission rate.
6. The device control method according to claim 3, further comprising: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is restored from the second connection interface standard to the first connection interface standard.
7. The device control method according to claim 3, further comprising: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is adjusted from the second connection interface standard to a third connection interface standard based on the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
8. The device control method according to claim 1, further comprising: receiving a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a specified connection interface standard corresponding to the preset condition; as well as In response to the preset condition being met, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard.
9. The device control method according to claim 1, further comprising: receiving a switching instruction and a specified connection interface standard from the host system; as well as Based on the switching instruction, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard. 10 . The device control method according to claim 1 , wherein the connection interface standard adopted by the connection interface unit comprises at least two of the Nth generation of the High-Speed Peripheral Component Interconnect standard, wherein N is a positive integer greater than 0.
11. The device control method according to claim 1, wherein when the connection interface unit adopts the first connection interface standard, the memory storage device has a first upper limit of data transmission amount per unit time, In the case where the connection interface unit adopts the second connection interface standard, the memory storage device has a second upper limit of data transmission volume per unit time, wherein the first upper limit of data transmission volume per unit time is different from the second upper limit of data transmission volume per unit time.
12. A memory storage device, characterized in that: include: A connection interface unit for connecting to a host system; Rewritable non-volatile memory module; A memory control circuit unit connected to the connection interface unit and the rewritable non-volatile memory module, The memory control circuit unit is used to: Obtaining device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is executing a preset operation; and According to the device status information, a connection interface standard adopted by the connection interface unit is adjusted from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard. 13 . The memory storage device of claim 12 , wherein the predetermined operation comprises at least one of a garbage collection operation, a wear leveling operation, a device self-test operation, and an error control operation.
14. The memory storage device according to claim 12, wherein the operation of the memory control circuit unit adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard according to the device status information comprises: In response to the memory storage device executing the preset operation, generating an expected data transmission volume per unit time between the memory storage device and the host system; as well as According to the expected data transmission volume per unit time, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the second connection interface standard.
15. The memory storage device according to claim 14, wherein the operation of the memory control circuit unit generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: The expected transmission amount per unit time corresponding to the preset operation is obtained from a comparison table.
16. The memory storage device according to claim 14, wherein the device status information further includes a current transfer rate of the memory storage device, and the operation of the memory control circuit unit generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: Based on the preset operation, the expected data transmission volume per unit time is obtained according to the current transmission rate.
17. The memory storage device according to claim 14, wherein the memory control circuit unit is further configured to: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is restored from the second connection interface standard to the first connection interface standard.
18. The memory storage device according to claim 14, wherein the memory control circuit unit is further configured to: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is adjusted from the second connection interface standard to a third connection interface standard based on the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
19. The memory storage device according to claim 12, wherein the memory control circuit unit is further configured to: receiving a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a specified connection interface standard corresponding to the preset condition; and In response to the preset condition being met, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard.
20. The memory storage device according to claim 12, wherein the memory control circuit unit is further configured to: Receiving a switching instruction and a designated connection interface standard from the host system; and Based on the switching instruction, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard. 21 . The memory storage device according to claim 12 , wherein the connection interface standard adopted by the connection interface unit comprises at least two of the Nth generation of the High-Speed Peripheral Component Interconnect standard, wherein N is a positive integer greater than 0.
22. The memory storage device according to claim 12, wherein when the connection interface unit adopts the first connection interface standard, the memory storage device has a first upper limit of data transmission amount per unit time, In the case where the connection interface unit adopts the second connection interface standard, the memory storage device has a second upper limit of data transmission volume per unit time, wherein the first upper limit of data transmission volume per unit time is different from the second upper limit of data transmission volume per unit time.
23. A memory control circuit unit, characterized in that: For controlling a memory storage device, wherein the memory storage device comprises a connection interface unit, the connection interface unit is used to connect to a host system, and the memory control circuit unit comprises: A host interface, used to connect to the connection interface unit; A memory interface for connecting to a rewritable non-volatile memory module; and A memory management circuit connected to the host interface and the memory interface, The memory management circuit is used to: Obtaining device status information of the memory storage device, wherein the device status information reflects whether the memory storage device is executing a preset operation; and According to the device status information, a connection interface standard adopted by the connection interface unit is adjusted from a first connection interface standard to a second connection interface standard, wherein the first connection interface standard is different from the second connection interface standard.
24. The memory control circuit unit according to claim 23, wherein the predetermined operation comprises at least one of a garbage collection operation, a wear leveling operation, a device self-test operation, and an error control operation.
25. The memory control circuit unit according to claim 23, wherein the operation of the memory management circuit adjusting the connection interface standard adopted by the connection interface unit from the first connection interface standard to the second connection interface standard according to the device status information comprises: In response to the memory storage device executing the preset operation, generating an expected data transmission volume per unit time between the memory storage device and the host system; as well as According to the expected data transmission volume per unit time, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the second connection interface standard.
26. The memory control circuit unit according to claim 25, wherein the operation of the memory management circuit generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: The expected transmission amount per unit time corresponding to the preset operation is obtained from a comparison table.
27. The memory control circuit unit according to claim 25, wherein the device status information further includes a current transfer rate of the memory storage device, and the operation of the memory management circuit generating the expected data transfer amount per unit time between the memory storage device and the host system comprises: Based on the preset operation, the expected data transmission volume per unit time is obtained according to the current transmission rate.
28. The memory control circuit unit according to claim 25, wherein the memory management circuit is further configured to: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is restored from the second connection interface standard to the first connection interface standard.
29. The memory control circuit unit according to claim 25, wherein the memory management circuit is further configured to: In response to the preset operation being completed, the connection interface standard adopted by the connection interface unit is adjusted from the second connection interface standard to a third connection interface standard based on the current temperature of the memory storage device and / or the number of commands to be completed, wherein the third connection interface standard is different from the first connection interface standard and the second connection interface standard.
30. The memory control circuit unit according to claim 23, wherein the memory management circuit is further configured to: receiving a power state protocol from the host system, wherein the power state protocol includes a preset condition for adjusting the connection interface standard adopted by the connection interface unit and a specified connection interface standard corresponding to the preset condition; and In response to the preset condition being met, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard.
31. The memory control circuit unit according to claim 23, wherein the memory management circuit is further configured to: Receiving a switching instruction and a designated connection interface standard from the host system; and Based on the switching instruction, the connection interface standard adopted by the connection interface unit is adjusted from the first connection interface standard to the designated connection interface standard, wherein the first connection interface standard is different from the designated connection interface standard.
32. The memory control circuit unit according to claim 23, wherein the connection interface standard adopted by the connection interface unit comprises at least two of the Nth generation of the High-Speed Peripheral Component Interconnection Standard, wherein N is a positive integer greater than 0.
33. The memory control circuit unit according to claim 23, wherein when the connection interface unit adopts the first connection interface standard, the memory storage device has a first upper limit on the amount of data transmitted per unit time, In the case where the connection interface unit adopts the second connection interface standard, the memory storage device has a second upper limit of data transmission volume per unit time, wherein the first upper limit of data transmission volume per unit time is different from the second upper limit of data transmission volume per unit time.
