Solid state disk power consumption management method, device and equipment and readable storage medium

By dynamically determining the number of memory chips that the solid-state drive needs to be started, the problem of high power consumption of the solid-state drive is solved, the power consumption and performance requirements are matched, and energy waste and equipment heating are reduced.

CN119806429APending Publication Date: 2025-04-11MEMORIGHT (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510235966.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

While ensuring read and write performance, existing solid-state drives consume high power, resulting in equipment heating, system energy efficiency decline and energy consumption increase, affecting overall stability.

Method used

By monitoring the sequential read and write data of the solid-state drive within a unit time, calculating the required read and write rate, and dynamically determine the number of memory chips to start up based on the demand read and write rate and the standard read and write rate of a single memory chip to achieve on-demand startup.

Benefits of technology

It matches the power consumption of solid-state drives with actual performance requirements, reduces energy waste, and reduces the risk of equipment heating and system energy efficiency decline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806429A_ABST
    Figure CN119806429A_ABST
Patent Text Reader

Abstract

The invention discloses a solid state disk power consumption management method, device and equipment and a readable storage medium. The method comprises the following steps: obtaining a required read-write rate according to the data volume of sequential read-write for the solid state disk in unit time; determining the number M of storage chips needing to be started in unit time according to the required read-write rate and the standard read-write rate of a single storage chip in the solid state disk; and starting the M storage chips in the solid state disk in unit time for sequential reading and writing. According to the method and the device, the corresponding number of storage chips are started as required according to the actual read-write performance requirement, so that the power consumption of the solid state disk is matched with the actual performance requirement, and the energy waste is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of storage technology, and in particular to a method, device, equipment and computer-readable storage medium for managing power consumption of a solid-state hard disk. Background Art

[0002] With the rapid development of information technology, solid-state drives (SSDs) have been widely used in computers, mobile devices, and various embedded systems, becoming one of the mainstream storage solutions.

[0003] In the prior art, in order to ensure that the solid-state drive can provide sufficient read and write performance, all storage chips in the solid-state drive are generally enabled by default, but this method will result in higher power consumption of the solid-state drive. High power consumption will not only cause equipment heating problems, but may also cause the overall energy efficiency of the system to decrease, increase energy consumption, and thus affect the overall stability. Therefore, how to effectively balance power consumption and reduce energy waste has become a technical problem that needs to be solved in the field of solid-state storage. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a solid state drive power consumption management method, device, equipment and computer-readable storage medium.

[0005] In a first aspect, an embodiment of the present application provides a method for managing power consumption of a solid-state hard disk, the method comprising:

[0006] The required read / write rate is obtained according to the amount of data sequentially read and written to the solid state drive in unit time;

[0007] Determine the number of storage chips M that need to be started per unit time based on the required read / write rate and the standard read / write rate of a single storage chip in the solid-state drive;

[0008] M storage chips in the solid-state drive are started in a unit of time for sequential reading and writing.

[0009] In combination with the first aspect, in one implementation, after obtaining the required read / write rate, the method further includes:

[0010] Check whether the required read / write rate is less than the total read / write rate of the SSD;

[0011] If it is less than, the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive is performed.

[0012] In combination with the first aspect, in one implementation, after detecting whether the required read / write rate is less than the total read / write rate of the solid state drive, the method further includes:

[0013] If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

[0014] In combination with the first aspect, in one implementation, determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive includes:

[0015] Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read / write rate of a single storage chip in the solid-state drive, and S is the required read / write rate;

[0016] M is the number of storage chips that need to be started per unit time.

[0017] In a second aspect, an embodiment of the present application provides a solid state drive power consumption management device, the solid state drive power consumption management device comprising:

[0018] A first determination module is used to obtain a required read / write rate according to the amount of data sequentially read and written to the solid state drive within a unit time;

[0019] The second determination module is used to determine the number M of storage chips that need to be started per unit time according to the required read and write rate and the standard read and write rate of a single storage chip in the solid state drive;

[0020] The startup module is used to start M storage chips in the solid state drive within a unit time for sequential reading and writing.

[0021] In conjunction with the second aspect, in one implementation, the solid state drive power consumption management device further includes a detection module, which is used to:

[0022] Check whether the required read / write rate is less than the total read / write rate of the SSD;

[0023] If it is less than, the second determination module is notified to execute the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive.

[0024] In conjunction with the second aspect, in one implementation, the startup module is further configured to:

[0025] If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

[0026] In conjunction with the second aspect, in one implementation, the second determining module is specifically configured to:

[0027] Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read / write rate of a single storage chip in the solid-state drive, and S is the required read / write rate;

[0028] M is the number of storage chips that need to be started per unit time.

[0029] In a third aspect, an embodiment of the present application provides a solid-state hard disk power consumption management device, wherein the solid-state hard disk power consumption management device comprises a processor, a memory, and a solid-state hard disk power consumption management program stored in the memory and executable by the processor, wherein when the solid-state hard disk power consumption management program is executed by the processor, the steps of the solid-state hard disk power consumption management method described in the first aspect are implemented.

[0030] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a solid-state hard disk power consumption management program is stored, wherein when the solid-state hard disk power consumption management program is executed by a processor, the steps of the solid-state hard disk power consumption management method described in the first aspect are implemented.

[0031] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:

[0032] In the embodiment of the present application, the required read / write rate is obtained according to the amount of data sequentially read and written to the solid-state hard disk in a unit time; the number of storage chips M that need to be started in a unit time is determined according to the required read / write rate and the standard read / write rate of a single storage chip in the solid-state hard disk; and the M storage chips in the solid-state hard disk are started in a unit time for sequential reading and writing. Through the embodiment of the present application, according to the actual read / write performance requirements, the corresponding number of storage chips are started on demand, so that the power consumption of the solid-state hard disk is matched with the actual performance requirements, and energy waste is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flow chart of an embodiment of a method for managing power consumption of a solid state drive of the present application;

[0034] Figure 2 A schematic diagram of functional modules of an embodiment of a solid state drive power consumption management device of the present application;

[0035] Figure 3 This is a schematic diagram of the hardware structure of the solid-state drive power consumption management device involved in the embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0037] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0038] In a first aspect, an embodiment of the present application provides a method for managing power consumption of a solid state drive.

[0039] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the solid state drive power consumption management method of the present application. Figure 1 As shown, the solid state drive power consumption management method includes:

[0040] Step S10, obtaining a required read / write rate according to the amount of data sequentially read and written to the solid state drive per unit time;

[0041] In this embodiment, by real-time monitoring of the read and write operations on the solid state drive, if the read and write addresses are continuous, it is determined to be sequential read and write, and then the amount of data sequentially read and written per unit time is further determined, wherein the unit time is set according to actual needs, for example, set to 1s. Assuming that the amount of data sequentially read and written within 1s is 100, the required read and write rate is 100 / s.

[0042] Step S20, determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive;

[0043] In this embodiment, the solid-state drive includes multiple storage chips, and the standard read and write rates of each storage chip are the same and fixed, which can be determined according to the chip manual. For example, the standard read and write rate of each storage chip is 64 / s. In order to meet the read and write requirements, it is necessary to ensure that the sum of the standard read and write rates provided by the activated storage chips is greater than or equal to the required read and write rate.

[0044] For example, if the standard read / write rate of each memory chip is 64 / s and the required read / write rate is 100 / s, at least two memory chips need to be started, that is, the number of memory chips that need to be started per unit time is M=2.

[0045] Furthermore, in one embodiment, step S20 includes:

[0046] Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read and write rate of a single storage chip in the solid-state drive, and S is the required read and write rate; M is the number of storage chips that need to be started per unit time.

[0047] In this embodiment, the standard read / write rate of each memory chip is recorded as S', and multiple intervals are pre-set, such as (0, S'], (S', 2S'], (2S', 3S'], etc. Assuming that the required read / write rate S falls within the interval (0, S'], then M=1; if the required read / write rate S falls within the interval (S', 2S'], then M=2, and so on.

[0048] Furthermore, the ratio of the required read / write rate S to the standard read / write rate, which is recorded as S', can be calculated, and then the comparison value can be rounded up, and the rounded-up result can be used as M.

[0049] Step S30, starting M storage chips in the solid state drive within a unit time for sequential reading and writing.

[0050] In this embodiment, according to the required read and write rate and the standard read and write rate of a single memory chip in the solid state drive, a corresponding number of memory chips are started as needed for sequential reading and writing.

[0051] It should be noted that the above-mentioned embodiment is used for processing in each unit time, thereby ensuring that in each unit time, a corresponding number of storage chips are started on demand based on the required read and write rate and the standard read and write rate of a single storage chip in the solid-state drive, thereby balancing the read and write requirements and the SSD power consumption.

[0052] In the embodiment of the present application, the required read / write rate is obtained according to the amount of data sequentially read and written to the solid-state hard disk in a unit time; the number of storage chips M that need to be started in a unit time is determined according to the required read / write rate and the standard read / write rate of a single storage chip in the solid-state hard disk; and the M storage chips in the solid-state hard disk are started in a unit time for sequential reading and writing. Through the embodiment of the present application, according to the actual read / write performance requirements, the corresponding number of storage chips are started on demand, so that the power consumption of the solid-state hard disk is matched with the actual performance requirements, and energy waste is reduced.

[0053] Furthermore, in one embodiment, after step S10, the method further includes:

[0054] Check whether the required read / write rate is less than the total read / write rate of the SSD;

[0055] If it is less than, the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive is performed.

[0056] In this embodiment, it is assumed that the solid-state drive includes N memory chips, and the standard read and write rate of each memory chip is recorded as S', then the total read and write rate of the solid-state drive = N*S'. If the required read and write rate S is less than the total read and write rate N*S' of the solid-state drive, it means that it is not necessary to start all N memory chips, and it is necessary to determine the number of memory chips M that need to be started, and start M memory chips as needed, that is, execute steps S20 and S30.

[0057] Furthermore, in one embodiment, after detecting whether the required read / write rate is less than the total read / write rate of the solid state drive, the method further includes:

[0058] If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

[0059] In this embodiment, if the required read / write rate S is not less than the total read / write rate N*S' of the solid state drive, it means that the read / write demand per unit time exceeds the performance of the solid state drive. In order to ensure the read / write efficiency, all storage chips in the solid state drive are started per unit time.

[0060] In a second aspect, an embodiment of the present application also provides a solid state drive power consumption management device.

[0061] In one embodiment, referring to Figure 2 , Figure 2 This is a functional module diagram of an embodiment of a solid state drive power consumption management device of the present application. Figure 2 As shown, the solid state drive power consumption management device includes:

[0062] A first determination module 10 is used to obtain a required read / write rate according to the amount of data sequentially read and written to the solid state drive within a unit time;

[0063] A second determination module 20 is used to determine the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive;

[0064] The startup module 30 is used to start the M storage chips in the solid state drive within a unit time for sequential reading and writing.

[0065] Furthermore, in one embodiment, the solid state drive power consumption management device further includes a detection module, which is used to:

[0066] Check whether the required read / write rate is less than the total read / write rate of the SSD;

[0067] If it is less than, the second determination module is notified to execute the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive.

[0068] Furthermore, in one embodiment, the startup module 30 is further used to:

[0069] If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

[0070] Further, in one embodiment, the second determining module 20 is specifically configured to:

[0071] Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read / write rate of a single storage chip in the solid-state drive, and S is the required read / write rate;

[0072] M is the number of storage chips that need to be started per unit time.

[0073] Among them, the functional implementation of each module in the above-mentioned solid-state hard disk power consumption management device corresponds to the various steps in the above-mentioned solid-state hard disk power consumption management method embodiment, and its functions and implementation processes are no longer repeated here one by one.

[0074] In a third aspect, an embodiment of the present application provides a solid-state drive power consumption management device, which may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0075] Reference Figure 3 , Figure 3 The hardware structure diagram of the solid state drive power management device involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the solid state drive power management device may include a processor, a memory, a communication interface, and a communication bus.

[0076] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0077] The communication interface includes input / output (I / O) interface, physical interface and logical interface, etc., which are used to realize the interconnection of devices inside the SSD power management device, and the interface used to realize the interconnection between the SSD power management device and other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display (Display), a keyboard (Keyboard), etc.

[0078] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0079] The processor may be a general-purpose processor, and the general-purpose processor may call the SSD power consumption management program stored in the memory and execute the SSD power consumption management method provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The method executed when the SSD power consumption management program is called may refer to the various embodiments of the SSD power consumption management method of the present application, and will not be described in detail here.

[0080] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0081] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0082] The computer-readable storage medium of the present application stores a solid-state hard disk power consumption management program, wherein when the solid-state hard disk power consumption management program is executed by a processor, the steps of the solid-state hard disk power consumption management method as described above are implemented.

[0083] Among them, the method implemented when the solid-state hard disk power consumption management program is executed can refer to the various embodiments of the solid-state hard disk power consumption management method of the present application, and will not be repeated here.

[0084] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0085] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0086] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0087] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0088] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0090] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for managing power consumption of a solid state drive, characterized in that: The solid state drive power consumption management method comprises: The required read / write rate is obtained according to the amount of data sequentially read and written to the solid state drive in unit time; Determine the number of storage chips M that need to be started per unit time based on the required read / write rate and the standard read / write rate of a single storage chip in the solid-state drive; M storage chips in the solid-state drive are started in a unit of time for sequential reading and writing.

2. The method for managing power consumption of a solid state drive according to claim 1, wherein: After obtaining the required read / write rate, the method further includes: Check whether the required read / write rate is less than the total read / write rate of the SSD; If it is less than, the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive is performed.

3. The method for managing power consumption of a solid state drive according to claim 2, wherein: After the step of detecting whether the required read / write rate is less than the total read / write rate of the solid state drive, the method further includes: If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

4. The method for managing power consumption of a solid state drive according to claim 1, wherein: Determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive includes: Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read / write rate of a single storage chip in the solid-state drive, and S is the required read / write rate; M is the number of storage chips that need to be started per unit time.

5. A solid state hard disk power consumption management device, characterized in that: The solid state hard disk power consumption management device comprises: A first determination module is used to obtain a required read / write rate according to the amount of data sequentially read and written to the solid state drive within a unit time; The second determination module is used to determine the number M of storage chips that need to be started per unit time according to the required read and write rate and the standard read and write rate of a single storage chip in the solid state drive; The startup module is used to start M storage chips in the solid state drive within a unit time for sequential reading and writing.

6. The solid state drive power consumption management device according to claim 5, characterized in that: The solid state drive power consumption management device further includes a detection module, which is used for: Check whether the required read / write rate is less than the total read / write rate of the SSD; If it is less than, the second determination module is notified to execute the step of determining the number M of storage chips that need to be started per unit time according to the required read / write rate and the standard read / write rate of a single storage chip in the solid state drive.

7. The solid state drive power consumption management device according to claim 6, wherein: The startup module is also used to: If it is not less than, all storage chips in the solid state drive are started within the unit time for sequential reading and writing.

8. The solid state drive power consumption management device according to claim 5, characterized in that: The second determination module is specifically used for: Determine the minimum integer M from the possible integers of P, where P*S'≥S, S' is the standard read / write rate of a single storage chip in the solid-state drive, and S is the required read / write rate; M is the number of storage chips that need to be started per unit time.

9. A solid state drive power consumption management device, characterized in that: The solid-state hard disk power consumption management device includes a processor, a memory, and a solid-state hard disk power consumption management program stored in the memory and executable by the processor, wherein when the solid-state hard disk power consumption management program is executed by the processor, the steps of the solid-state hard disk power consumption management method as described in any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a solid-state hard disk power consumption management program, wherein when the solid-state hard disk power consumption management program is executed by the processor, the steps of the solid-state hard disk power consumption management method according to any one of claims 1 to 4 are implemented.