Solid State Drive Data Transfer Rate Control Method and Device

By collecting real-time status parameters and load information of solid-state drives (SSDs), and combining them with a model library and data transmission evaluation model, the data transmission rate is dynamically adjusted, solving the problems of flexibility and accuracy in SSD transmission rate control, and enabling flexible rate adjustment based on application type.

CN120196523BActive Publication Date: 2026-05-26SHENZHEN WEIKEWEIYE ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN WEIKEWEIYE ELECTRONIC TECH CO LTD
Filing Date
2025-02-08
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing solid-state drive (SSD) data transfer rate control methods lack flexibility and precision. Fixed rate settings cannot adapt to the dynamic needs of different application scenarios, while threshold-based control methods are prone to misjudgment and cannot achieve precise rate adjustment.

Method used

By collecting real-time status parameters and operating load information of solid-state drives, and combining them with a preset model library, a comprehensive status index is determined. The target data transmission evaluation model is used to assess the current data transmission pressure capacity, and the data transmission rate is dynamically adjusted according to the application type.

Benefits of technology

It improves the precision and flexibility of solid-state drive data transfer rate control, enabling data transfer at appropriate rates according to different application types to meet diverse application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120196523B_ABST
    Figure CN120196523B_ABST
Patent Text Reader

Abstract

This invention relates to the field of solid-state drive (SSD) technology, and provides a method and apparatus for controlling the data transfer rate of an SSD. The method includes: real-time acquisition of the current internal state parameters and current operating load information of the target SSD; determining a comprehensive state index of the target SSD based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth; matching a target data transfer evaluation model from a preset model library based on the comprehensive state index; inputting the current CPU utilization and current memory usage into the target data transfer evaluation model to obtain the current data transfer pressure capability output by the target data transfer evaluation model; and controlling the data transfer rate of the target SSD based on the current data transfer pressure capability and application type. This invention improves the flexibility and accuracy of SSD data transfer rate control through the target data transfer evaluation model and different application types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of solid-state drive (SSD) technology, and in particular to a method and apparatus for controlling the data transfer rate of an SSD. Background Technology

[0002] With the rapid development of information technology, solid-state drives (SSDs) have been widely used in the field of computer storage. The data transfer rate of SSDs is crucial to the performance of the entire computer system.

[0003] Traditional solid-state drive (SSD) data transfer rate control methods are primarily based on fixed-rate settings or threshold-based judgments. Fixed-rate settings involve setting a fixed upper limit for the data transfer rate based on the SSD's model or rated speed. Regardless of actual system operation, the data transfer rate will not exceed this set value. However, fixed-rate settings lack flexibility and cannot adapt to the dynamic data transfer rate requirements of different application scenarios. Threshold-based control methods adjust the data transfer rate when the SSD's temperature or queue depth reaches a certain threshold. However, threshold-based control is often too simplistic and coarse. Adjusting the rate based on a single threshold is prone to misjudgments. Furthermore, different SSDs vary in their heat dissipation performance and internal architecture, making precise rate control impossible with a uniform threshold setting. Summary of the Invention

[0004] This invention provides a method and apparatus for controlling the data transfer rate of a solid-state drive (SSD), thereby improving the flexibility and accuracy of SSD data transfer rate control.

[0005] In a first aspect, the present invention provides a method for controlling the data transfer rate of a solid-state drive, comprising:

[0006] Real-time acquisition of the target solid-state drive's current internal status parameters and current operating load information; the current internal status parameters include current temperature, current cumulative usage time, current write amplification factor, and current queue depth; the current operating load information includes current CPU utilization, current memory usage, and the application type of the currently running application;

[0007] Based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth, the comprehensive status index of the target solid-state drive is determined;

[0008] Based on the comprehensive status index, a target data transmission evaluation model is matched in the preset model library; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0009] The current CPU utilization and the current memory usage are input into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model;

[0010] The data transfer rate of the target solid-state drive is controlled based on the current data transfer pressure capacity and the application type.

[0011] According to the solid-state drive data transfer rate control method provided in the embodiments of the present invention, the application type control includes system utility program type, network communication program type, and entertainment creation program type;

[0012] The method of controlling the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and the application type includes:

[0013] If the application type is a system utility program, then based on the current data transfer pressure capacity and the maximum and minimum data transfer rates of the target solid-state drive, a first current data transfer rate of the target solid-state drive is determined, and the data transfer rate of the target solid-state drive is controlled by the first current data transfer rate; or,

[0014] If the application type is a network communication application, then based on the current data transmission capacity, the maximum data transmission rate, the minimum data transmission rate, and the network latency coefficient, a second current data transmission rate for the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the second current data transmission rate; or,

[0015] If the application type control includes entertainment creation application type, then based on the current data transmission pressure capacity, the maximum data transmission rate, the minimum data transmission rate and the user experience sensitivity coefficient, the third current data transmission rate of the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the third current data transmission rate.

[0016] According to the solid-state drive data transfer rate control method provided in the embodiment of the present invention, the calculation formula for the first current data transfer rate is as follows:

[0017] ;

[0018] The formula for calculating the second current data transmission rate is as follows:

[0019] ;

[0020] The formula for calculating the third current data transmission rate is as follows:

[0021] ;

[0022] in, Indicates the current data transmission rate. Indicates the second current data transmission rate. Indicates the third current data transmission rate. Indicates the minimum data transfer rate. Indicates the maximum data transfer rate. Indicates the current data transmission capacity. Represents the network latency coefficient. This represents the user experience sensitivity coefficient.

[0023] According to the solid-state drive data transfer rate control method provided in the embodiments of the present invention, the step of determining the comprehensive status index of the target solid-state drive based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth includes:

[0024] Determine the impact factor of temperature on the operation of the target solid-state drive based on the current temperature;

[0025] The lifespan of the target solid-state drive is evaluated based on the current cumulative usage time and the set total lifespan value of the target solid-state drive to obtain the current estimated remaining lifespan of the target solid-state drive.

[0026] Based on the current remaining lifetime estimate, the operational impact factor, the current write amplification factor, and the current queue depth, calculate the comprehensive status index of the target solid-state drive;

[0027] The calculation formula for the comprehensive status index is as follows:

[0028] ;

[0029] ;

[0030] in, This represents a comprehensive status index. Indicates the operational impact factor. This indicates the current estimated remaining useful life. Indicates the current write amplification factor. Indicates the preset scaling factor. Indicates the current queue depth. This indicates the set total lifespan value. Represents the base of the exponential function. This indicates the current cumulative usage time. Indicates the current temperature. and These represent the mean and variance of the normal operating temperature of the solid-state drive, respectively.

[0031] According to the solid-state drive data transfer rate control method provided in the embodiments of the present invention, a target data transfer evaluation model is matched in a preset model library based on the comprehensive status index, including:

[0032] A state stability index is determined based on the comprehensive state index, a state change rate is determined based on the state stability index, and a state fluctuation coefficient is determined based on the state change rate.

[0033] Based on the state stability index, the state change rate, and the state fluctuation coefficient, a working state feature vector of the target solid-state drive is constructed.

[0034] Based on the matching of the working state feature vector with the model feature vector of each data transmission evaluation model in the preset model library, the final matching degree of the working state feature vector with the model feature vector of each data transmission evaluation model is determined.

[0035] The data transmission evaluation model corresponding to the highest final matching degree is determined as the target data transmission evaluation model.

[0036] According to the solid-state drive data transfer rate control method provided in the embodiments of the present invention, the step of matching the working state feature vector with the model feature vector of each data transfer evaluation model in the preset model library to determine the final matching degree of the working state feature vector with the model feature vector of each data transfer evaluation model includes:

[0037] Based on the vector distance between the working state feature vector and the model feature vector of each data transmission evaluation model, the degree of fit of the working state feature vector to the model feature vector of each data transmission evaluation model is determined.

[0038] Based on the feature correlation and feature similarity between the model feature vector of each data transmission evaluation model and the model feature vector of other data transmission evaluation models, the model influence factor of each data transmission evaluation model is determined.

[0039] Based on the degree of adaptation of the working state feature vector to the model feature vector of each data transmission evaluation model, and the model influence factor of each data transmission evaluation model, the final matching degree of the working state feature vector to the model feature vector of each data transmission evaluation model is determined.

[0040] According to the solid-state drive data transfer rate control method provided in this embodiment of the invention, the target data transfer evaluation model includes a basic influence factor calculation layer, an interaction influence factor calculation layer, and a transmission pressure capacity calculation layer; the step of inputting the current CPU utilization rate and the current memory occupancy rate into the target data transfer evaluation model to obtain the current data transfer pressure capacity output by the target data transfer evaluation model includes:

[0041] The current CPU utilization and the current memory usage are input into the target data transmission evaluation model. Based on the basic impact factor calculation layer, the first basic impact factor of CPU utilization on data transmission pressure and the second basic impact factor of memory usage on data transmission pressure are calculated according to the current CPU utilization and the current memory usage.

[0042] Based on the interaction impact factor calculation layer, the interaction impact factor of CPU utilization and memory utilization on data transmission pressure is calculated according to the current CPU utilization and the current memory occupancy.

[0043] The transmission pressure capacity calculation layer calculates the current data transmission pressure capacity based on the first basic influence factor, the second basic influence factor, and the interaction influence factor.

[0044] In a second aspect, the present invention also provides a solid-state drive data transfer rate control device, comprising:

[0045] The data acquisition module is used to collect the current internal status parameters and current operating load information of the target solid-state drive in real time. The current internal status parameters include the current temperature, current cumulative usage time, current write amplification factor, and current queue depth. The current operating load information includes the current CPU utilization, current memory usage, and the application type of the currently running application.

[0046] The determination module is used to determine the comprehensive status indicators of the target solid-state drive based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth.

[0047] The model matching module is used to match the target data transmission evaluation model in a preset model library based on the comprehensive state index; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0048] The model prediction module is used to input the current CPU utilization and the current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model.

[0049] A transfer rate module is used to control the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and the application type.

[0050] Thirdly, the present invention also provides an electronic device, comprising: a memory for storing computer software programs; and a processor for reading and executing the computer software programs, thereby implementing the solid-state drive data transfer rate control method as described above.

[0051] Fourthly, the present invention also provides a non-transitory computer-readable storage medium storing a computer software program, which, when executed by a processor, implements the solid-state drive data transfer rate control method described above.

[0052] Fifthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the solid-state drive data transfer rate control method as described above.

[0053] The solid-state drive (SSD) data transfer rate control method provided in this invention matches the most suitable target data transfer evaluation model from a preset model library based on a comprehensive status index determined by the target SSD's current temperature, current cumulative usage time, current write amplification factor, and current queue depth. This target data transfer evaluation model, combined with current CPU utilization and current memory usage, assesses the target SSD's current data transfer pressure capacity, improving the accuracy of SSD data transfer rate control. Furthermore, by combining the current data transfer pressure capacity with the application type, the method controls the target SSD's data transfer rate, enabling the target SSD to transfer data at different rates for different application types, thus enhancing the flexibility of SSD data transfer rate control. Attached Figure Description

[0054] Figure 1 This is a flowchart of a solid-state drive data transfer rate control method provided in an embodiment of the present invention;

[0055] Figure 2 This is a structural diagram of the solid-state hard disk data transfer rate control device provided in an embodiment of the present invention;

[0056] Figure 3 An embodiment diagram of the electronic device provided in this invention;

[0057] Figure 4 An embodiment diagram of a computer-readable storage medium provided in accordance with the present invention. Detailed Implementation

[0058] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0059] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0060] In the description of this invention, the term "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0061] See Figure 1 As shown, Figure 1 This is a flowchart of the solid-state drive data transfer rate control method provided by the present invention. In this embodiment of the invention, the executing entity of the solid-state drive data transfer rate control method is a data transfer rate control device. Therefore, the solid-state drive data transfer rate control method includes:

[0062] Step 10: Collect the current internal status parameters and current operating load information of the target solid-state drive.

[0063] Optionally, the transfer rate control device collects the target solid-state drive's current internal status parameters and current operating load information in real time. The current internal status parameters include the current temperature, current cumulative usage time, current write amplification factor, and current queue depth. These parameters reflect the solid-state drive's overall status and performance bottlenecks. For example, a high temperature may indicate that the solid-state drive is operating under high load, requiring appropriate adjustment of the transfer rate to avoid overheating; an excessively high write amplification factor may indicate that the solid-state drive's storage units are under significant pressure, also necessitating optimized control of the data write rate.

[0064] Optionally, the current runtime load information includes current CPU utilization, current memory usage, and the application type of the currently running application. Currently running applications can include system utility applications, network communication applications, and entertainment / creation applications; therefore, the application type control includes system utility programs, network communication programs, and entertainment / creation programs. Different types of applications have significantly different data transfer rate requirements. For example, game applications typically require fast and stable data read rates to ensure smooth screen rendering, while background data backup programs can run at relatively lower speeds.

[0065] Step 20: Determine the comprehensive status indicators of the target solid-state drive based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth.

[0066] Furthermore, the transmission rate control device determines the comprehensive status indicators of the target solid-state drive based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth, as described in steps 210 to 203.

[0067] Step 30: Match the target data transmission evaluation model from the preset model library based on the comprehensive status index.

[0068] Optionally, the transmission rate control device of this embodiment of the invention has a pre-built preset model library, which includes multiple data transmission evaluation models. Each data transmission evaluation model has a different adaptation condition and is trained based on the sample CPU utilization rate, sample memory occupancy rate, and their corresponding data transmission pressure capability labels. Therefore, the transmission rate control device matches the target data transmission evaluation model that best suits the current situation in the preset model library according to the comprehensive state index, as described in steps 301 to 304.

[0069] Step 40: Input the current CPU utilization and current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model.

[0070] Furthermore, the transmission rate control device inputs the current CPU utilization and current memory occupancy into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model. The value range of the current data transmission pressure capacity is 0 to 1, as described in steps 401 to 403.

[0071] Step 50: Control the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and application type.

[0072] Furthermore, for different application types, the transfer rate control device controls the data transfer rate of the target solid-state drive according to the current data transfer pressure capacity and the application type, as described in steps 501 to 503.

[0073] This invention uses a comprehensive status index determined by the target solid-state drive's current temperature, current cumulative usage time, current write amplification factor, and current queue depth to match the most suitable target data transmission evaluation model from a preset model library. This model, combined with current CPU utilization and current memory usage, assesses the target solid-state drive's current data transmission pressure capacity, improving the accuracy of solid-state drive data transmission rate control. Furthermore, by combining the current data transmission pressure capacity with application type, the data transmission rate of the target solid-state drive is controlled, allowing it to transmit data at different rates for different application types, thus increasing the flexibility of solid-state drive data transmission rate control.

[0074] In one embodiment, steps 210 to 203 are described as follows:

[0075] Step 201: Determine the impact factor of temperature on the operation of the target solid-state drive based on the current temperature.

[0076] Optionally, the transfer rate control device determines the temperature impact factor on the target solid-state drive's operation based on the current temperature, using the following formula:

[0077] .

[0078] in, Indicates the operational impact factor. Indicates the current temperature. and These represent the mean and variance of the normal operating temperature of the solid-state drive, respectively.

[0079] Step 202: Evaluate the lifespan of the target solid-state drive based on the current cumulative usage time and the set total lifespan value of the target solid-state drive to obtain the current estimated remaining lifespan of the target solid-state drive.

[0080] Furthermore, the transmission rate control device assesses the lifespan of the target solid-state drive (SSD) based on the current cumulative usage time and the target SSD's set total lifespan, obtaining the estimated remaining lifespan of the target SSD using the following formula:

[0081] .

[0082] in, This indicates the current estimated remaining useful life. This indicates the set total lifespan value. Represents the base of the exponential function. This indicates the current cumulative usage time.

[0083] Step 203: Calculate the comprehensive status index of the target solid-state drive based on the current estimated remaining lifetime, operating impact factor, current write amplification factor, and current queue depth.

[0084] Furthermore, the transfer rate control device calculates the comprehensive status index of the target solid-state drive based on the current estimated remaining lifetime, operating impact factor, current write amplification factor, and current queue depth. The specific formula is as follows:

[0085] .

[0086] in, This represents a comprehensive status index. Indicates the current write amplification factor. Indicates the preset scaling factor. Indicates the current queue depth.

[0087] This invention uses comprehensive status indicators to match the target data transmission evaluation model that best suits the current situation in a preset model library. Therefore, the target data transmission evaluation model can be combined with the current CPU usage and current memory usage to evaluate the current data transmission pressure capability of the target solid-state drive, thereby improving the accuracy of solid-state drive data transmission rate control.

[0088] In one embodiment, steps 301 to 304 are described as follows:

[0089] Step 301: Determine the state stability index based on the comprehensive state index, determine the state change rate based on the state stability index, and determine the state fluctuation coefficient based on the state change rate.

[0090] Optionally, the transmission rate control device calculates the state stability index based on the comprehensive state index. Among them, the state stability index The specific calculation formula is as follows:

[0091] .

[0092] Optionally, the rate of change of state reflects how quickly the state changes over time and is related to the state stability index. Therefore, the transmission rate control device calculates the rate of change of state based on the state stability index. Among them, the rate of change of state The specific calculation formula is as follows:

[0093] .

[0094] in, This represents the state stability index at the previous moment. This represents the state stability index at the current moment.

[0095] Optionally, the state fluctuation coefficient is used to measure the drasticness and uncertainty of state changes. In one embodiment, the sequence of state change rates over a period of time is: ,in, Represents the sequence of rates of change of state The dimension, therefore, the transmission rate control device is based on the state change rate sequence. Calculate the variance of the rate of change of state The specific formula is as follows:

[0096] .

[0097] .

[0098] Furthermore, the transmission rate control device is based on the variance of the rate of change of state. Calculate the state fluctuation coefficient Among them, the state fluctuation coefficient The specific calculation formula is as follows:

[0099] .

[0100] Step 302: Construct the working state feature vector of the target solid-state drive based on the state stability index, state change rate, and state fluctuation coefficient.

[0101] Step 303: Based on the working state feature vector, match it with the model feature vector of each data transmission evaluation model in the preset model library to determine the final matching degree of the working state feature vector with the model feature vector of each data transmission evaluation model.

[0102] Furthermore, the transmission rate control device integrates the state stability index, state change rate, and state fluctuation coefficient to construct the working state feature vector of the target solid-state drive. Further, the transmission rate control device matches the working state feature vector with the model feature vector of each data transmission evaluation model in the preset model library to determine the final matching degree of the working state feature vector with the model feature vector of each data transmission evaluation model, as described in steps 3031 to 3033.

[0103] Step 304: Determine the data transmission evaluation model corresponding to the highest final matching degree as the target data transmission evaluation model.

[0104] Furthermore, the transmission rate control device iterates through all final matching degrees and determines the data transmission evaluation model corresponding to the highest final matching degree as the target data transmission evaluation model.

[0105] This invention uses comprehensive status indicators to match the target data transmission evaluation model that best suits the current situation in a preset model library. Therefore, the target data transmission evaluation model can be combined with the current CPU usage and current memory usage to evaluate the current data transmission pressure capability of the target solid-state drive, thereby improving the accuracy of solid-state drive data transmission rate control.

[0106] In one embodiment, steps 3031 to 3033 are described as follows:

[0107] Step 3031: Based on the vector distance between the working state feature vector and the model feature vector of each data transmission evaluation model, determine the degree of fit of the working state feature vector to the model feature vector of each data transmission evaluation model.

[0108] Optionally, the working state feature vector in this embodiment of the invention is represented as follows: Among them, such as Indicates the state stability index. Represents the rate of change of state. This represents the state fluctuation coefficient. It is available in the preset model library. A data transmission evaluation model, in which... A data transmission evaluation model can be represented as follows: Each data transmission evaluation model The model feature vector can be represented as ,in, These represent the data transmission evaluation models. The relevant characteristic values ​​of the state stability index, state change rate, and state fluctuation coefficient.

[0109] Furthermore, the transmission rate control device calculates the vector distance between the operating state feature vector and the model feature vector of each data transmission evaluation model, using the following formula:

[0110] .

[0111] in, Represents the feature vector of working state With the The vector distance between the feature vectors of the data transmission evaluation model. Represents the feature vector of working state The first in 1 eigenvalue, Indicates the first The first eigenvector of the data transmission evaluation model 1 eigenvalue, The working state feature vector is represented at the th The set of possible values ​​for a dimension. This indicates that all model feature vectors are at the th... The set of possible values ​​for a dimension. Represents the maximum value function. This represents the minimum value function.

[0112] Furthermore, the transmission rate control device determines the degree of fit between the operating state feature vector and the model feature vector of each data transmission evaluation model based on the vector distance between them. The specific formula is as follows:

[0113] .

[0114] in, Represents the feature vector of working state For the The fitness of a data transmission evaluation model's feature vectors can be understood as the degree of adaptation of the model's feature vectors when the vector distance is... When smaller, A value close to 1 indicates a working state feature vector. For the The model feature vectors of the data transmission evaluation model have high fitness; when the vector distance When it is large, A value close to 0 indicates a working state feature vector. For the The model feature vectors of the data transmission evaluation model have low adaptability.

[0115] Step 3032: Based on the feature correlation and feature similarity between the model feature vector of each data transmission evaluation model and the model feature vector of other data transmission evaluation models, determine the model influence factor of each data transmission evaluation model.

[0116] Furthermore, the transmission rate control device acquires the feature correlation between the model feature vector of each data transmission evaluation model and the model feature vector of other data transmission evaluation models, as well as the feature similarity between the model feature vector of each data transmission evaluation model and the model feature vector of other data transmission evaluation models. Among them, other data transmission evaluation models are the other models in the preset model library besides itself for each data transmission evaluation model. The feature correlation can be calculated using the Pearson correlation coefficient method, and the feature similarity can be calculated using the cosine similarity method.

[0117] Furthermore, the transmission rate control device determines the model influence factor for each data transmission evaluation model based on the feature correlation and feature similarity between the model feature vector of each data transmission evaluation model and the model feature vectors of other data transmission evaluation models. The specific formula is as follows:

[0118] .

[0119] in, Indicates the first The model impact factor of a data transmission evaluation model. Indicates the first The data transmission evaluation model and the first Feature correlations among data transmission evaluation models Indicates the first The data transmission evaluation model and the first Feature similarity among data transmission evaluation models This indicates the preset coefficient.

[0120] Step 3033: Based on the degree of adaptation of the working state feature vector to the model feature vector of each data transmission evaluation model, and the model influence factor of each data transmission evaluation model, determine the final matching degree of the working state feature vector to the model feature vector of each data transmission evaluation model.

[0121] Furthermore, the transmission rate control device calculates the final matching degree of the operating state feature vector to the model feature vector of each data transmission evaluation model based on the degree of adaptation of the operating state feature vector to the model feature vector of each data transmission evaluation model, and the model influence factor of each data transmission evaluation model. The specific formula is as follows:

[0122] .

[0123] in, Represents the feature vector of working state For the The final matching degree of the model feature vectors of the data transmission evaluation model. This indicates the preset adjustment parameters.

[0124] In this embodiment of the invention, the working state feature vector of the target solid-state drive, constructed by the state stability index, state change rate, and state fluctuation coefficient, determines the final matching degree with each data transmission evaluation model in the preset model library. Thus, based on the final matching degree, the target data transmission evaluation model that best suits the current situation can be accurately matched. Therefore, the current data transmission pressure capability of the target solid-state drive can be evaluated by combining the target data transmission evaluation model with the current CPU utilization and current memory usage, thereby improving the accuracy of solid-state drive data transmission rate control.

[0125] In one embodiment, the target data transmission evaluation model of this invention includes a basic impact factor calculation layer, an interactive impact factor calculation layer, and a transmission pressure capacity calculation layer. Therefore, steps 401 to 403 are described as follows:

[0126] Step 401: Input the current CPU utilization and current memory usage into the target data transmission evaluation model. The basic impact factor calculation layer calculates the first basic impact factor of CPU utilization on data transmission pressure and the second basic impact factor of memory usage on data transmission pressure based on the current CPU utilization and current memory usage.

[0127] Optionally, the current CPU utilization rate in this embodiment of the invention is Its value ranges from 0 to 100; the current memory usage rate is... The value ranges from 0 to 100. For ease of subsequent calculations, the current CPU utilization and current memory usage are normalized to obtain the normalized CPU utilization. and normalized memory usage The specific formula is as follows:

[0128] .

[0129] Optionally, the transmission rate control device inputs the current CPU utilization and current memory usage into the target data transmission evaluation model. Based on the basic influence factor calculation layer, the model calculates the first basic influence factor of CPU utilization on data transmission pressure and the second basic influence factor of memory usage on data transmission pressure, using the current CPU utilization and current memory usage as examples. The specific formulas are as follows:

[0130] .

[0131] .

[0132] in, Indicates the first fundamental impact factor. This represents the second fundamental impact factor.

[0133] Step 402: Based on the interaction influence factor calculation layer, the interaction influence factor of CPU utilization and memory utilization on data transmission pressure is calculated according to the current CPU utilization and memory utilization.

[0134] Furthermore, the interaction impact factor calculation layer calculates the interaction impact factor of CPU utilization and memory utilization on data transmission pressure based on the current CPU utilization and memory utilization. The specific formula is as follows:

[0135] .

[0136] in, This represents the interaction factor.

[0137] Step 403: The transmission pressure capacity calculation layer calculates the current data transmission pressure capacity based on the first basic influence factor, the second basic influence factor, and the interaction influence factor.

[0138] Furthermore, the transmission pressure capacity calculation layer calculates the current data transmission pressure capacity based on the first basic influence factor, the second basic influence factor, and the interaction influence factor. The specific formula is as follows:

[0139] .

[0140] This invention improves the accuracy of SSD data transfer rate control by using a target data transfer evaluation model that combines current CPU usage and current memory occupancy to assess the current data transfer pressure capacity of the target SSD.

[0141] In one embodiment, steps 501 to 503 are described as follows:

[0142] Step 501: If the application type is a system utility program, then based on the current data transfer pressure capacity and the maximum and minimum data transfer rates of the target solid-state drive, determine the first current data transfer rate of the target solid-state drive, and control the data transfer rate of the target solid-state drive with the first current data transfer rate.

[0143] Optionally, system utility applications typically have high requirements for data real-time performance and stability. Under varying data transfer pressures, the data transfer rate of the solid-state drive (SSD) needs to be adjusted accordingly. Therefore, if the application type is determined to be a system utility program, the transfer rate control device obtains the maximum and minimum data transfer rates of the target SSD. Based on the current data transfer capacity and the maximum and minimum data transfer rates, it determines the first current data transfer rate of the target SSD and controls its data transfer rate accordingly. That is, when the target SSD transfers data from the system utility program, it transfers the data at the first current data transfer rate. The formula for calculating the first current data transfer rate is as follows:

[0144] .

[0145] in, Indicates the current data transmission rate. Indicates the minimum data transfer rate. Indicates the maximum data transfer rate. This indicates the current data transmission capacity.

[0146] Step 502: If the application type is a network communication application type, then based on the current data transmission pressure capacity, maximum data transmission rate, minimum data transmission rate and network latency coefficient, determine the second current data transmission rate of the target solid-state drive, and control the data transmission rate of the target solid-state drive with the second current data transmission rate.

[0147] Optionally, network communication applications have certain requirements for the timeliness and continuity of data transmission, while also taking into account the network environment and data transmission pressure. Therefore, if the application type is determined to be a network communication application, the transmission rate control device obtains the maximum and minimum data transmission rates of the target solid-state drive, as well as the network latency coefficient. The network latency coefficient ranges from 0 to 1; the higher the network latency, the larger the network latency coefficient.

[0148] Furthermore, the transmission rate control device determines a second current data transmission rate for the target solid-state drive based on the current data transmission pressure capacity, maximum data transmission rate, minimum data transmission rate, and network latency coefficient. It then controls the data transmission rate of the target solid-state drive using this second current data transmission rate. Specifically, when the target solid-state drive transmits data for the network communication program, it transmits the data at the second current data transmission rate. The formula for calculating the second current data transmission rate is as follows:

[0149] .

[0150] in, Indicates the second current data transmission rate. This represents the network latency coefficient.

[0151] Step 503: If the application type control includes entertainment creation application type, then based on the current data transmission pressure capacity, maximum data transmission rate, minimum data transmission rate and user experience sensitivity coefficient, determine the third current data transmission rate of the target solid-state drive, and control the data transmission rate of the target solid-state drive with the third current data transmission rate.

[0152] Optionally, entertainment and creative applications typically have high bandwidth requirements for data transmission. However, under heavy data transmission pressure, reasonable rate adjustments are necessary to ensure a good user experience. Therefore, if the application type control includes entertainment and creative applications, the transmission rate control device obtains the target solid-state drive's maximum and minimum data transmission rates, as well as the user experience sensitivity coefficient. The user experience sensitivity coefficient ranges from 0 to 1; the higher the user's sensitivity to the experience, the larger the user experience sensitivity coefficient.

[0153] Furthermore, the transmission rate control device determines the third current data transmission rate of the target solid-state drive based on the current data transmission pressure capacity, maximum data transmission rate, minimum data transmission rate, and user experience sensitivity coefficient. It then controls the data transmission rate of the target solid-state drive using this third current data transmission rate. Specifically, when the target solid-state drive is transmitting data for an entertainment creation program, it transmits the data at the third current data transmission rate. The formula for calculating the third current data transmission rate is as follows:

[0154] .

[0155] in, Indicates the third current data transmission rate. This represents the user experience sensitivity coefficient.

[0156] This invention combines the current data transmission pressure capacity and application type to control the data transmission rate of the target solid-state drive, so that the target solid-state drive transmits data at different data transmission rates when facing different application types, thereby improving the flexibility of solid-state drive data transmission rate control.

[0157] Furthermore, the solid-state drive data transfer rate control system provided by the present invention will be described below. The solid-state drive data transfer rate control system described below can be referred to in correspondence with the solid-state drive data transfer rate control method described above. Optionally, referencing... Figure 2 , Figure 2This is a structural diagram of the solid-state drive data transfer rate control device provided by the present invention. The solid-state drive data transfer rate control device includes:

[0158] The data acquisition module 210 is used to collect the current internal status parameters and current operating load information of the target solid-state drive in real time. The current internal status parameters include the current temperature, current cumulative usage time, current write amplification factor, and current queue depth. The current operating load information includes the current CPU utilization, current memory usage, and the application type of the currently running application.

[0159] The determination module 220 is used to determine the comprehensive status indicators of the target solid-state drive based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth.

[0160] The model matching module 230 is used to match the target data transmission evaluation model in the preset model library based on the comprehensive state index; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0161] The model prediction module 240 is used to input the current CPU utilization and current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model.

[0162] The transfer rate module 250 is used to control the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and application type.

[0163] This invention uses a comprehensive status index determined by the target solid-state drive's current temperature, current cumulative usage time, current write amplification factor, and current queue depth to match the most suitable target data transmission evaluation model from a preset model library. This model, combined with current CPU utilization and current memory usage, assesses the target solid-state drive's current data transmission pressure capacity, improving the accuracy of solid-state drive data transmission rate control. Furthermore, by combining the current data transmission pressure capacity with application type, the data transmission rate of the target solid-state drive is controlled, allowing it to transmit data at different rates for different application types, thus increasing the flexibility of solid-state drive data transmission rate control.

[0164] Please see Figure 3 , Figure 3 An embodiment diagram of an electronic device provided in accordance with the present invention. For example... Figure 3As shown, this embodiment of the invention provides an electronic device 300, including a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, it performs the following steps:

[0165] Real-time acquisition of the target solid-state drive's current internal status parameters and current operating load information; current internal status parameters include current temperature, current cumulative usage time, current write amplification factor, and current queue depth; current operating load information includes current CPU utilization, current memory usage, and the application type of the currently running application;

[0166] Based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth, determine the comprehensive status indicators of the target solid-state drive;

[0167] The target data transmission evaluation model is matched in the preset model library based on comprehensive status indicators; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0168] Input the current CPU utilization and current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model;

[0169] The data transfer rate of the target solid-state drive is controlled based on the current data transfer pressure capacity and application type.

[0170] Please see Figure 4 , Figure 4 An embodiment diagram of a computer-readable storage medium provided in accordance with an embodiment of the present invention is shown. Figure 4 As shown, this embodiment provides a computer-readable storage medium 400 on which a computer program 311 is stored. When the computer program 311 is executed by a processor, it performs the following steps:

[0171] Real-time acquisition of the target solid-state drive's current internal status parameters and current operating load information; current internal status parameters include current temperature, current cumulative usage time, current write amplification factor, and current queue depth; current operating load information includes current CPU utilization, current memory usage, and the application type of the currently running application;

[0172] Based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth, determine the comprehensive status indicators of the target solid-state drive;

[0173] The target data transmission evaluation model is matched in the preset model library based on comprehensive status indicators; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0174] Input the current CPU utilization and current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model;

[0175] The data transfer rate of the target solid-state drive is controlled based on the current data transfer pressure capacity and application type.

[0176] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the solid-state hard disk data transfer rate control method provided by the above methods, the method including:

[0177] Real-time acquisition of the target solid-state drive's current internal status parameters and current operating load information; current internal status parameters include current temperature, current cumulative usage time, current write amplification factor, and current queue depth; current operating load information includes current CPU utilization, current memory usage, and the application type of the currently running application;

[0178] Based on the current temperature, current cumulative usage time, current write amplification factor, and current queue depth, determine the comprehensive status indicators of the target solid-state drive;

[0179] The target data transmission evaluation model is matched in the preset model library based on comprehensive status indicators; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results.

[0180] Input the current CPU utilization and current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model;

[0181] The data transfer rate of the target solid-state drive is controlled based on the current data transfer pressure capacity and application type.

[0182] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0183] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling the data transfer rate of a solid-state drive, characterized in that, include: Real-time acquisition of the target solid-state drive's current internal status parameters and current operating load information; the current internal status parameters include current temperature, current cumulative usage time, current write amplification factor, and current queue depth; the current operating load information includes current CPU utilization, current memory usage, and the application type of the currently running application; Based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth, the comprehensive status index of the target solid-state drive is determined; Based on the comprehensive status index, a target data transmission evaluation model is matched in the preset model library; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results. The current CPU utilization and the current memory usage are input into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model; The data transfer rate of the target solid-state drive is controlled based on the current data transfer pressure capacity and the application type. The application type control includes system tool program type, network communication program type, and entertainment creation program type; The method of controlling the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and the application type includes: If the application type is a system utility program, then based on the current data transfer pressure capacity and the maximum and minimum data transfer rates of the target solid-state drive, a first current data transfer rate of the target solid-state drive is determined, and the data transfer rate of the target solid-state drive is controlled by the first current data transfer rate; or, If the application type is a network communication application, then based on the current data transmission capacity, the maximum data transmission rate, the minimum data transmission rate, and the network latency coefficient, a second current data transmission rate for the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the second current data transmission rate; or, If the application type control includes entertainment creation application type, then based on the current data transmission pressure capacity, the maximum data transmission rate, the minimum data transmission rate and the user experience sensitivity coefficient, the third current data transmission rate of the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the third current data transmission rate.

2. The solid-state drive data transfer rate control method according to claim 1, characterized in that, The formula for calculating the first current data transmission rate is as follows: ; The formula for calculating the second current data transmission rate is as follows: ; The formula for calculating the third current data transmission rate is as follows: ; in, Indicates the current data transmission rate. Indicates the second current data transmission rate. Indicates the third current data transmission rate. Indicates the minimum data transfer rate. Indicates the maximum data transfer rate. Indicates the current data transmission capacity. Represents the network latency coefficient. This represents the user experience sensitivity coefficient.

3. The solid-state drive data transfer rate control method according to claim 1, characterized in that, The determination of the comprehensive status indicators of the target solid-state drive based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth includes: Determine the impact factor of temperature on the operation of the target solid-state drive based on the current temperature; The lifespan of the target solid-state drive is evaluated based on the current cumulative usage time and the set total lifespan value of the target solid-state drive to obtain the current estimated remaining lifespan of the target solid-state drive. Based on the current remaining lifetime estimate, the operational impact factor, the current write amplification factor, and the current queue depth, calculate the comprehensive status index of the target solid-state drive; The calculation formula for the comprehensive status index is as follows: ; ; in, This represents a comprehensive status index. Indicates the operational impact factor. This indicates the current estimated remaining useful life. Indicates the current write amplification factor. Indicates the preset scaling factor. Indicates the current queue depth. This indicates the set total lifespan value. Represents the base of the exponential function. This indicates the current cumulative usage time. Indicates the current temperature. and These represent the mean and variance of the normal operating temperature of the solid-state drive, respectively.

4. The solid-state drive data transfer rate control method according to claim 1, characterized in that, Based on the comprehensive status index, a target data transmission evaluation model is matched from a preset model library, including: A state stability index is determined based on the comprehensive state index, a state change rate is determined based on the state stability index, and a state fluctuation coefficient is determined based on the state change rate. Based on the state stability index, the state change rate, and the state fluctuation coefficient, a working state feature vector of the target solid-state drive is constructed. Based on the matching of the working state feature vector with the model feature vector of each data transmission evaluation model in the preset model library, the final matching degree of the working state feature vector with the model feature vector of each data transmission evaluation model is determined. The data transmission evaluation model corresponding to the highest final matching degree is determined as the target data transmission evaluation model.

5. The solid-state drive data transfer rate control method according to claim 4, characterized in that, The step of matching the working state feature vector with the model feature vector of each data transmission evaluation model in the preset model library to determine the final matching degree of the working state feature vector with the model feature vector of each data transmission evaluation model includes: Based on the vector distance between the working state feature vector and the model feature vector of each data transmission evaluation model, the degree of fit of the working state feature vector to the model feature vector of each data transmission evaluation model is determined. Based on the feature correlation and feature similarity between the model feature vector of each data transmission evaluation model and the model feature vector of other data transmission evaluation models, the model influence factor of each data transmission evaluation model is determined. Based on the degree of adaptation of the working state feature vector to the model feature vector of each data transmission evaluation model, and the model influence factor of each data transmission evaluation model, the final matching degree of the working state feature vector to the model feature vector of each data transmission evaluation model is determined.

6. The solid-state drive data transfer rate control method according to any one of claims 1 to 5, characterized in that, The target data transmission evaluation model includes a basic impact factor calculation layer, an interaction impact factor calculation layer, and a transmission pressure capacity calculation layer; the step of inputting the current CPU utilization rate and the current memory occupancy rate into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model includes: The current CPU utilization and the current memory usage are input into the target data transmission evaluation model. Based on the basic impact factor calculation layer, the first basic impact factor of CPU utilization on data transmission pressure and the second basic impact factor of memory usage on data transmission pressure are calculated according to the current CPU utilization and the current memory usage. Based on the interaction impact factor calculation layer, the interaction impact factor of CPU utilization and memory utilization on data transmission pressure is calculated according to the current CPU utilization and the current memory occupancy. The transmission pressure capacity calculation layer calculates the current data transmission pressure capacity based on the first basic influence factor, the second basic influence factor, and the interaction influence factor.

7. A solid-state drive data transfer rate control device, characterized in that, For implementing the solid-state drive data transfer rate control method as described in any one of claims 1 to 6; the apparatus includes: The data acquisition module is used to collect the current internal status parameters and current operating load information of the target solid-state drive in real time. The current internal status parameters include the current temperature, current cumulative usage time, current write amplification factor, and current queue depth. The current operating load information includes the current CPU utilization, current memory usage, and the application type of the currently running application. The determination module is used to determine the comprehensive status indicators of the target solid-state drive based on the current temperature, the current cumulative usage time, the current write amplification factor, and the current queue depth. The model matching module is used to match the target data transmission evaluation model in a preset model library based on the comprehensive state index; the target data transmission evaluation model is trained based on the sample CPU utilization rate and sample memory occupancy rate and their corresponding data transmission pressure capability label results. The model prediction module is used to input the current CPU utilization and the current memory usage into the target data transmission evaluation model to obtain the current data transmission pressure capacity output by the target data transmission evaluation model. A transmission rate module is used to control the data transmission rate of the target solid-state drive based on the current data transmission pressure capacity and the application type. The application type control includes system tool program type, network communication program type, and entertainment creation program type; The method of controlling the data transfer rate of the target solid-state drive based on the current data transfer pressure capacity and the application type includes: If the application type is a system utility program, then based on the current data transfer pressure capacity and the maximum and minimum data transfer rates of the target solid-state drive, a first current data transfer rate of the target solid-state drive is determined, and the data transfer rate of the target solid-state drive is controlled by the first current data transfer rate; or, If the application type is a network communication application, then based on the current data transmission capacity, the maximum data transmission rate, the minimum data transmission rate, and the network latency coefficient, a second current data transmission rate for the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the second current data transmission rate; or, If the application type control includes entertainment creation application type, then based on the current data transmission pressure capacity, the maximum data transmission rate, the minimum data transmission rate and the user experience sensitivity coefficient, the third current data transmission rate of the target solid-state drive is determined, and the data transmission rate of the target solid-state drive is controlled by the third current data transmission rate.

8. An electronic device, comprising: Memory, used to store computer software programs; A processor for reading and executing the computer software program, characterized in that, when the processor executes the computer software program, it implements the solid-state drive data transfer rate control method as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing a computer software program, characterized in that, When the computer software program is executed by the processor, it implements the solid-state drive data transfer rate control method as described in any one of claims 1 to 6.