CN114495996A - Solid state disk power consumption control method and device, computer equipment and medium - Google Patents
Solid state disk power consumption control method and device, computer equipment and medium Download PDFInfo
- Publication number
- CN114495996A CN114495996A CN202111606681.2A CN202111606681A CN114495996A CN 114495996 A CN114495996 A CN 114495996A CN 202111606681 A CN202111606681 A CN 202111606681A CN 114495996 A CN114495996 A CN 114495996A
- Authority
- CN
- China
- Prior art keywords
- flash memory
- solid state
- state disk
- temperature
- power consumption
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000007787 solid Substances 0.000 title claims abstract description 180
- 238000000034 method Methods 0.000 title claims abstract description 54
- 239000002245 particle Substances 0.000 claims abstract description 157
- 230000004044 response Effects 0.000 claims abstract description 22
- 239000008187 granular material Substances 0.000 claims description 53
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000630 rising effect Effects 0.000 abstract description 6
- 230000002035 prolonged effect Effects 0.000 abstract description 4
- 239000008188 pellet Substances 0.000 description 9
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B33/00—Constructional parts, details or accessories not provided for in the other groups of this subclass
- G11B33/14—Reducing influence of physical parameters, e.g. temperature change, moisture, dust
- G11B33/1406—Reducing the influence of the temperature
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
- G06F1/206—Cooling means comprising thermal management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3268—Power saving in hard disk drive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0616—Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B33/00—Constructional parts, details or accessories not provided for in the other groups of this subclass
- G11B33/14—Reducing influence of physical parameters, e.g. temperature change, moisture, dust
- G11B33/1406—Reducing the influence of the temperature
- G11B33/144—Reducing the influence of the temperature by detection, control, regulation of the temperature
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The invention relates to the field of solid state disks, in particular to a method and a device for controlling power consumption of a solid state disk, computer equipment and a medium. The method comprises the following steps: acquiring the temperature of a plurality of flash memory particles included in the solid state disk; comparing the temperature of each flash memory particle with a first preset temperature; and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature. According to the scheme, the processing service of the single flash memory particle is adjusted in the temperature rising process of the solid state disk, the power consumption control of each flash memory particle is realized, the IO cutoff of the flash memory due to overhigh temperature of the solid state disk is avoided, the situation that the temperature of the solid state disk is overhigh is prevented, and the service life of the solid state disk is prolonged.
Description
Technical Field
The invention relates to the field of solid state disks, in particular to a method and a device for controlling power consumption of a solid state disk, computer equipment and a medium.
Background
A Solid State Disk (SSD), also called Solid State Drive, is a hard Disk made of an array of Solid State electronic memory chips. The solid state disk adopts flash memory particles (NAND FLASH) as a storage medium, and the reading speed is faster compared with that of a mechanical hard disk. The solid state disk is never only applied to continuous reading and writing, and has a faster random reading and writing speed, which is most directly applied to most daily operations. Solid state disks also have very low access times, with the most common seek times of 7200 mechanical hard disks being typically 12-14 milliseconds, which can easily be as low as 0.1 milliseconds or even lower. The solid state disk is widely applied to a server, generally, the service processing capacity of the server is large, and the internal temperature of the server is high when the server processes a large amount of services. The temperature has a great influence on the service life of the solid state disk, and the power consumption problem is directly reflected in the rise of the temperature of the solid state disk, so that the control of the power consumption of the solid state disk is particularly important.
At present, the traditional mode of controlling the power consumption of the solid state disk is mainly as follows: after the fact that the integral temperature of the solid state reaches a certain threshold is detected, the main control of the solid state disk intercepts the execution of read, write and erase commands of the flash, and reduces the power consumption of the SSD, so that the temperature of the SSD is reduced. The power consumption control method has the following defects: on one hand, after the temperature rises to a problem threshold, a flash memory particle read-write erasing command is intercepted, so that IO cut-off of the flash memory is caused; on the other hand, the power consumption of the solid state disk cannot be reduced in the process of increasing the temperature of the solid state disk.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device and a medium for controlling power consumption of a solid state disk.
According to a first aspect of the present invention, a method for controlling power consumption of a solid state disk is provided, where the method includes:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
In some embodiments, the method further comprises:
responding to the fact that the certain flash memory particle stops processing the service, continuously detecting the temperature of the certain flash memory particle and comparing the temperature with a second preset temperature, wherein the second preset temperature is smaller than the first preset temperature;
and responding to the temperature of a certain flash memory particle being less than or equal to the second preset temperature, and recovering the processing service of the certain flash memory particle.
In some embodiments, the step of stopping the processing traffic of the certain flash granule comprises:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting an erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the step of recovering the processing traffic of the certain flash granule comprises:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the method further comprises:
acquiring the temperature of the solid state disk;
comparing the temperature of the solid state disk with a third preset temperature, wherein the third preset temperature is higher than the first preset temperature;
and in response to the temperature of the solid state disk exceeding a third preset temperature, intercepting a read command, a write command and an erase command of each flash memory particle included in the solid state disk.
In some embodiments, each flash memory pellet included in the solid state disk has a corresponding temperature sensor disposed thereon.
In some embodiments, each solid state disk includes eight flash memory pellets.
According to a second aspect of the present invention, there is provided a solid state disk power consumption control apparatus, the apparatus comprising:
the temperature acquisition module is configured to acquire the temperatures of a plurality of flash memory particles included in the solid state disk;
a first comparison module configured to compare a temperature of each flash memory particle with a first preset temperature;
a stopping module configured to stop a processing service of a certain flash memory particle in response to a temperature of the certain flash memory particle exceeding the first preset temperature.
According to a third aspect of the present invention, there is also provided a computer apparatus comprising:
at least one processor; and
a memory, in which a computer program operable on a processor is stored, and the processor executes the program to perform the foregoing method for controlling power consumption of a solid state disk, the method including:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
According to a fourth aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program, which when executed by a processor performs the foregoing method for controlling power consumption of a solid state disk, the method including:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
According to the solid state disk power consumption control method, the temperature of a plurality of flash memory particles included in a solid state disk is obtained, the temperature of each flash memory particle is compared with a first preset temperature, if the temperature of one flash memory particle exceeds the first preset temperature, the processing service of one flash memory particle is stopped, the solid state overall power consumption is controlled to be at the level of the flash memory particles, the processing service of a single flash memory particle is adjusted in the solid state disk temperature rising process, the power consumption control of each flash memory particle is realized, namely, the power consumption is controlled from the temperature rising source, the purpose of controlling the overall temperature of the solid state disk is achieved, flash memory cutoff caused by overhigh temperature of the solid state disk is avoided, the solid state disk is prevented from being overhigh in temperature, and the service life of the solid state disk is prolonged.
In addition, the solid state disk power consumption control device, the computer device and the computer readable storage medium provided by the invention can also achieve the technical effects, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method 100 for controlling power consumption of a solid state disk according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a power consumption control method 200 for a solid state disk according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a solid state disk power consumption control apparatus 300 according to another embodiment of the present invention;
fig. 4 is an internal structural view of a computer device in another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In an embodiment, referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method 100 for controlling power consumption of a solid state disk, where the method specifically includes the following steps:
in this implementation, the solid state disk is composed of a plurality of flash memory particles, and each flash memory particle is provided with a temperature sensor capable of measuring the temperature of the corresponding flash memory particle.
in this embodiment, the temperatures of the flash memory granules may be the same or different, and the temperature of each flash memory granule needs to be compared with a first preset temperature, for example, a solid state disk includes two flash memory granules marked as a first flash memory granule and a second flash memory granule, and if it is not assumed that the temperature of the first flash memory granule is 72 degrees celsius, the temperature of the second flash memory granule is 68 degrees celsius, and the first preset temperature is 70 degrees celsius, the temperature of the first flash memory granule and the temperature of the second flash memory granule are compared with 70 degrees celsius, respectively.
In this embodiment, the processing service of the flash memory granule of the solid state disk may include a read operation, a write operation, and an erase operation, and the stopping of the processing service of the flash memory granule includes stopping one or more of the operations listed above. For example, if the processing service to be stopped includes an erase operation, since the temperature of the first flash memory granule exceeds 70 degrees celsius, the erase operation being processed by the first flash memory granule is suspended, and the erase operation not yet processed is stopped, and since the temperature of the second flash memory granule does not exceed 70 degrees celsius, the erase operation of the second flash memory granule can be normally performed. It should be noted that the number of flash memory particles included in the solid state disk, the specific value of the first preset temperature, and the type of the processing service are only used for illustration in this embodiment.
According to the solid state disk power consumption control method, the temperature of a plurality of flash memory particles included in a solid state disk is obtained, the temperature of each flash memory particle is compared with a first preset temperature, if the temperature of one flash memory particle exceeds the first preset temperature, the processing service of one flash memory particle is stopped, the solid state overall power consumption is controlled to be at the level of the flash memory particles, the processing service of a single flash memory particle is adjusted in the solid state disk temperature rising process, the power consumption control of each flash memory particle is realized, namely, the power consumption is controlled from the temperature rising source, the purpose of controlling the overall temperature of the solid state disk is achieved, flash memory cutoff caused by overhigh temperature of the solid state disk is avoided, the solid state disk is prevented from being overhigh in temperature, and the service life of the solid state disk is prolonged.
In another embodiment, referring to fig. 2, fig. 2 is a flowchart illustrating another method 200 for controlling power consumption of a solid state disk, specifically, the method 200 for controlling power consumption of a solid state disk includes the following steps:
in this implementation, the solid state disk is composed of a plurality of flash memory particles, and each flash memory particle is provided with a temperature sensor capable of measuring the temperature of the corresponding flash memory particle.
in this embodiment, the temperatures of the flash memory granules may be the same or different, and the temperature of each flash memory granule needs to be compared with a first preset temperature, for example, a solid state disk includes two flash memory granules marked as a first flash memory granule and a second flash memory granule, and if it is not assumed that the temperature of the first flash memory granule is 72 degrees celsius, the temperature of the second flash memory granule is 68 degrees celsius, and the first preset temperature is 70 degrees celsius, the temperature of the first flash memory granule and the temperature of the second flash memory granule are compared with 70 degrees celsius, respectively.
In this embodiment, the processing service of the flash memory granule of the solid state disk may include a read operation, a write operation, and an erase operation, and the stopping of the processing service of the flash memory granule includes stopping one or more of the operations listed above. For example, if the processing service to be stopped includes an erase operation, since the temperature of the first flash memory granule exceeds 70 degrees celsius, the erase operation being processed by the first flash memory granule is suspended, and the erase operation not yet processed is stopped, and since the temperature of the second flash memory granule does not exceed 70 degrees celsius, the erase operation of the second flash memory granule can be normally performed. It should be noted that the number of flash memory particles included in the solid state disk, the specific value of the first preset temperature, and the type of the processing service are only used for illustration in this embodiment.
Preferably, the specific implementation of step 203 is as follows:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting an erasing command of the flash memory particles through a main control chip of the solid state disk.
In the above example, the write command and/or the erase command of the first flash granule are intercepted.
In this embodiment, the second preset temperature is a temperature set for recovering the processing service of each flash memory particle, the temperature is slightly lower than the first preset temperature, it is not assumed that the second preset temperature is 65 degrees celsius, for example, it is continuously assumed that the first flash memory particle exceeds the first preset temperature, when the processing service on the first flash memory particle is stopped, the temperature of the first flash memory particle is gradually decreased due to the decrease of the power consumption of the processing service, at this time, the temperature of the first flash memory particle needs to be continuously monitored, and if the temperature of the first flash memory particle is found to be decreased to below 65 degrees, the processing service of the first flash memory particle is immediately recovered, thereby ensuring that each flash memory particle cannot work at an excessively high temperature, and can process the service in time after being recovered to a normal temperature, and ensuring the normal use of the solid state disk to the utmost extent.
Preferably, the specific implementation of step 205 is as follows:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
in this embodiment, the temperature of the solid state disk refers to the overall temperature of the solid state disk, and usually a sensor capable of measuring the operating temperature of the solid state disk is built in the solid state disk.
and step 208, in response to that the temperature of the solid state disk exceeds a third preset temperature, intercepting a read command, a write command and an erase command of each flash memory particle included in the solid state disk.
In this embodiment, the third preset temperature may be a maximum temperature nominal value that allows normal operation of the solid state disk, and it is not assumed that the third preset temperature is not 75 degrees celsius, although the method of the present invention can monitor the temperature of each flash memory particle in real time, and stop its processing service when the third preset temperature exceeds the first preset temperature to prevent the temperature from being too high, because the solid state disk includes other devices besides the flash memory particles, and the solid state disk is usually installed inside a server chassis, and there are also other devices in the chassis that may affect the temperature of the solid state disk when operating, by using this way, it is ensured that the processing service of all the flash memory particles is stopped when the overall temperature of the solid state disk exceeds the third preset temperature, thereby preventing the solid state disk from being damaged, and contributing to improving the service life of the solid state disk.
The solid state disk power consumption control method at least has the following beneficial technical effects:
first, the whole power consumption of the solid state disk can be controlled fundamentally, the whole temperature of the solid state disk is reduced, and the service life of the solid state disk is prolonged.
And secondly, the risk that the solid state disk has overhigh temperature and flash IO cutoff is reduced.
In some embodiments, each flash memory pellet included in the solid state disk has a corresponding temperature sensor disposed thereon.
In some embodiments, each solid state disk includes eight flash memory pellets.
In another embodiment, in order to facilitate understanding of the technical solution of the present invention, a solid state disk including eight flash memory particles (referred to as first to eighth flash memory particles) is described in detail below, and assuming that the first preset temperature is 70 degrees centigrade, the second preset temperature is 65 degrees centigrade, and the third preset temperature is 75 degrees centigrade, a specific control manner for power consumption of the solid state disk is as follows:
(1) respectively adding eight temperature sensors to the first flash memory particles to the eighth flash memory particles to detect the temperature of each flash memory particle in real time;
(2) the master control of the solid state disk polls the temperature of the sensor on the first flash memory particle to the eighth flash memory particle;
(3) when the temperature of a certain flash memory particle sensor reaches 70 ℃, intercepting the execution of a writing and erasing command on the flash memory particle, for example, the first flash memory particle exceeds 70 ℃, and the second flash memory particle to the eighth flash memory particle do not exceed 70 ℃, at this time, the first flash memory particle can only execute a reading operation and cannot execute a writing operation and an erasing operation, and meanwhile, the second flash memory particle to the eighth flash memory particle can normally execute the reading operation, the writing operation and the erasing operation.
(4) And continuously polling the temperature from the first flash memory particle to the eighth flash memory particle by the main control of the solid state disk, and recovering the writing and erasing commands of the first flash memory particle when the temperature of the sensor of the first flash memory particle is reduced to be below 65 ℃.
(5) And (3) continuously detecting the overall temperature of the solid state disk in the processes of (1) to (4), and immediately intercepting the read command, the write command and the erase command of the first flash memory granule to the eighth flash memory granule when the overall temperature exceeds 75 ℃ no matter whether the single flash memory granule exceeds 70 ℃.
In some embodiments, please refer to fig. 3, where fig. 3 is a schematic structural diagram of a solid state disk power consumption control device 300, specifically, the solid state disk power consumption control device provided in this embodiment includes:
a temperature obtaining module 301, configured to obtain temperatures of a plurality of flash memory particles included in a solid state disk;
a first comparison module 302 configured to compare a temperature of each flash memory particle to a first preset temperature;
a stopping module 303, configured to stop a processing service of a certain flash memory granule in response to a temperature of the certain flash memory granule exceeding the first preset temperature.
The utility model provides an above-mentioned solid state disk power consumption controlling means, through the temperature of obtaining a plurality of flash memory granules that solid state disk includes, compare the temperature of every flash memory granule with first preset temperature, if the temperature of a certain flash memory granule exceeds first preset temperature, stop the processing service of a certain flash memory granule, control solid state whole power consumption at flash memory granule level, the processing service of single flash memory granule is adjusted to solid state disk intensification in-process, the power consumption control of every flash memory granule has been realized, control the power consumption from the temperature rising root cause promptly, reach the purpose of controlling solid state disk bulk temperature, it appears the flash memory cutout because of solid state disk high temperature to have avoided IO, help preventing that the situation that solid state disk from appearing the high temperature, improve solid state disk's life.
In some embodiments, the apparatus further comprises:
a second comparing module, configured to, in response to the certain flash memory particle stopping processing the service, continuously detect a temperature of the certain flash memory particle and compare the temperature with a second preset temperature, where the second preset temperature is less than the first preset temperature;
and the recovery module is used for recovering the processing service of a certain flash memory particle in response to the fact that the temperature of the certain flash memory particle is less than or equal to the second preset temperature.
In some embodiments, the stopping module is further configured to:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting an erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the recovery module is further configured to:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the apparatus further comprises:
the temperature acquisition module is further configured to acquire the temperature of the solid state disk;
the third comparison module is configured to compare the temperature of the solid state disk with a third preset temperature, wherein the third preset temperature is higher than the first preset temperature;
the intercepting module is configured to intercept a read command, a write command and an erase command of each flash memory particle included in the solid state disk in response to the temperature of the solid state disk exceeding a third preset temperature.
In some embodiments, each flash memory pellet included in the solid state disk has a corresponding temperature sensor disposed thereon.
In some embodiments, each solid state disk includes eight flash memory pellets.
It should be noted that, for specific limitations of the solid state disk power consumption control apparatus, reference may be made to the above limitations of the solid state disk power consumption control method, which is not described herein again. All or part of each module in the solid state disk power consumption control device can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
According to another aspect of the present invention, a computer device is provided, and the computer device may be a server, and its internal structure is shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. When executed by a processor, the computer program implements the method for controlling power consumption of a solid state disk, specifically, the method includes the following steps:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
In some embodiments, the method further comprises:
responding to the fact that the certain flash memory particle stops processing the service, continuously detecting the temperature of the certain flash memory particle and comparing the temperature with a second preset temperature, wherein the second preset temperature is smaller than the first preset temperature;
and responding to the temperature of a certain flash memory particle being less than or equal to the second preset temperature, and recovering the processing service of the certain flash memory particle.
In some embodiments, the step of stopping the processing traffic of the certain flash granule comprises:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting an erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the step of recovering the processing traffic of the certain flash granule comprises:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the method further comprises:
acquiring the temperature of the solid state disk;
comparing the temperature of the solid state disk with a third preset temperature, wherein the third preset temperature is higher than the first preset temperature;
and in response to the fact that the temperature of the solid state disk exceeds a third preset temperature, intercepting a read command, a write command and an erase command of each flash memory particle included in the solid state disk.
In some embodiments, each flash memory granule included in the solid state disk is provided with a corresponding temperature sensor.
In some embodiments, each solid state disk includes eight flash memory pellets.
According to still another aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described solid state disk power consumption control method, specifically comprising performing the steps of:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
In some embodiments, the method further comprises:
responding to the fact that the certain flash memory particle stops processing the service, continuously detecting the temperature of the certain flash memory particle and comparing the temperature with a second preset temperature, wherein the second preset temperature is smaller than the first preset temperature;
and responding to the temperature of a certain flash memory particle being less than or equal to the second preset temperature, and recovering the processing service of the certain flash memory particle.
In some embodiments, the step of stopping the processing traffic of the certain flash granule comprises:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting an erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the step of recovering the processing traffic of the certain flash granule comprises:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
In some embodiments, the method further comprises:
acquiring the temperature of the solid state disk;
comparing the temperature of the solid state disk with a third preset temperature, wherein the third preset temperature is higher than the first preset temperature;
and in response to the temperature of the solid state disk exceeding a third preset temperature, intercepting a read command, a write command and an erase command of each flash memory particle included in the solid state disk.
In some embodiments, each flash memory pellet included in the solid state disk has a corresponding temperature sensor disposed thereon.
In some embodiments, each solid state disk includes eight flash memory pellets.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for controlling power consumption of a solid state disk is characterized by comprising the following steps:
acquiring the temperature of a plurality of flash memory particles included in the solid state disk;
comparing the temperature of each flash memory particle with a first preset temperature;
and stopping the processing service of a certain flash memory particle in response to the temperature of the certain flash memory particle exceeding the first preset temperature.
2. The method for controlling power consumption of the solid state disk according to claim 1, further comprising:
responding to the fact that the certain flash memory particle stops processing the service, continuously detecting the temperature of the certain flash memory particle and comparing the temperature with a second preset temperature, wherein the second preset temperature is smaller than the first preset temperature;
and responding to the temperature of a certain flash memory particle being less than or equal to the second preset temperature, and recovering the processing service of the certain flash memory particle.
3. The method for controlling power consumption of a solid state disk according to claim 2, wherein the step of stopping the processing traffic of the certain flash memory granule comprises:
intercepting a write command of the flash memory particle through a main control chip of the solid state disk; and/or
And intercepting the erasing command of the certain flash memory particle through a main control chip of the solid state disk.
4. The method for controlling power consumption of a solid state disk according to claim 3, wherein the step of recovering the processing traffic of the certain flash memory granule comprises:
restoring the write command of the certain flash memory particle through a main control chip of the solid state disk; and/or
And recovering the erasing command of the flash memory particles through a main control chip of the solid state disk.
5. The method for controlling power consumption of the solid state disk according to claim 4, further comprising:
acquiring the temperature of the solid state disk;
comparing the temperature of the solid state disk with a third preset temperature, wherein the third preset temperature is higher than the first preset temperature;
and in response to the temperature of the solid state disk exceeding a third preset temperature, intercepting a read command, a write command and an erase command of each flash memory particle included in the solid state disk.
6. The method for controlling power consumption of the solid state disk according to claim 1, wherein a corresponding temperature sensor is disposed on each flash memory particle included in the solid state disk.
7. The method for controlling power consumption of solid state disks according to claim 1, wherein each solid state disk comprises eight flash memory granules.
8. A solid state disk power consumption control apparatus, the apparatus comprising:
the temperature acquisition module is configured to acquire the temperatures of a plurality of flash memory particles included in the solid state disk;
a first comparison module configured to compare a temperature of each flash memory particle with a first preset temperature;
a stopping module configured to stop a processing service of a certain flash memory particle in response to a temperature of the certain flash memory particle exceeding the first preset temperature.
9. A computer device, comprising:
at least one processor; and
a memory storing a computer program operable in the processor, the processor executing the program to perform the method of controlling power consumption of a solid state disk according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to perform the method for controlling power consumption of a solid state disk according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111606681.2A CN114495996B (en) | 2021-12-26 | Method and device for controlling power consumption of solid state disk, computer equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111606681.2A CN114495996B (en) | 2021-12-26 | Method and device for controlling power consumption of solid state disk, computer equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114495996A true CN114495996A (en) | 2022-05-13 |
CN114495996B CN114495996B (en) | 2024-05-17 |
Family
ID=
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150261281A1 (en) * | 2014-03-13 | 2015-09-17 | International Business Machines Corporation | Control of solid state memory device temperature using queue depth management |
CN105096993A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Solid state drives, electronic equipment and information processing method |
US20190050153A1 (en) * | 2017-08-08 | 2019-02-14 | Western Digital Technologies, Inc. | Routing data blocks during thermal throttling |
CN210983399U (en) * | 2019-11-05 | 2020-07-10 | 深圳大普微电子科技有限公司 | Flash memory chip, flash memory device and flash memory storage system |
CN111581004A (en) * | 2020-05-06 | 2020-08-25 | 深圳忆联信息系统有限公司 | Solid state disk overheating protection method and device, computer equipment and storage medium |
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150261281A1 (en) * | 2014-03-13 | 2015-09-17 | International Business Machines Corporation | Control of solid state memory device temperature using queue depth management |
CN105096993A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Solid state drives, electronic equipment and information processing method |
US20190050153A1 (en) * | 2017-08-08 | 2019-02-14 | Western Digital Technologies, Inc. | Routing data blocks during thermal throttling |
CN210983399U (en) * | 2019-11-05 | 2020-07-10 | 深圳大普微电子科技有限公司 | Flash memory chip, flash memory device and flash memory storage system |
CN111581004A (en) * | 2020-05-06 | 2020-08-25 | 深圳忆联信息系统有限公司 | Solid state disk overheating protection method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110289027B (en) | Solid state disk based storage particle overheating protection method and device | |
US10803972B2 (en) | Flash memory module, storage system, and method of controlling flash memory | |
US9760482B2 (en) | Reconstruct drive for dynamic resizing | |
US10521294B2 (en) | Patrol scrub periods based on power status | |
US11430540B2 (en) | Defective memory unit screening in a memory system | |
US10725856B2 (en) | Error correction to reduce a failure in time rate | |
US20190179694A1 (en) | Data storage device, operating method thereof and storage system including the same | |
US11513933B2 (en) | Apparatus with temperature mitigation mechanism and methods for operating the same | |
WO2023071701A1 (en) | Log recording method and apparatus, and electronic device | |
US20190196954A1 (en) | Data storage device and operating method thereof | |
CN108710475B (en) | Method and device for enhancing low-temperature robustness of solid state disk and computer equipment | |
CN112860516A (en) | Log saving method, communication device, chip and module equipment | |
US10698830B2 (en) | Obtaining data in a nonvolatile memory device through the use of descriptors | |
KR20200067035A (en) | Data Storage Device and Operation Method Thereof, Storage System Having the Same | |
CN111400087B (en) | Control method of operating system, terminal and storage medium | |
CN114495996B (en) | Method and device for controlling power consumption of solid state disk, computer equipment and medium | |
CN114495996A (en) | Solid state disk power consumption control method and device, computer equipment and medium | |
US10838766B2 (en) | Memory system and operating method thereof | |
US11188485B2 (en) | Memory system and operating method thereof | |
US11733911B2 (en) | Storage device and storage device management method | |
CN105068969A (en) | Single event effect protection system and method for digital signal processing platform architecture | |
CN112346556A (en) | Method, device, computer equipment and medium for improving low power consumption efficiency of chip | |
CN110750215A (en) | Method and device for improving random reading performance of solid state disk and computer equipment | |
US20230238044A1 (en) | Method and apparatus for controlling refresh period of extended memory pool | |
US11966582B2 (en) | Data storage device that detects and releases bottlenecks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |