CN110489058B - Solid state disk speed adjusting method and device, solid state disk and storage medium - Google Patents
Solid state disk speed adjusting method and device, solid state disk and storage medium Download PDFInfo
- Publication number
- CN110489058B CN110489058B CN201910591217.7A CN201910591217A CN110489058B CN 110489058 B CN110489058 B CN 110489058B CN 201910591217 A CN201910591217 A CN 201910591217A CN 110489058 B CN110489058 B CN 110489058B
- Authority
- CN
- China
- Prior art keywords
- transmission speed
- parameters
- parameter
- solid state
- state disk
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000007787 solid Substances 0.000 title claims abstract description 73
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 90
- 230000007613 environmental effect Effects 0.000 claims abstract description 39
- 230000008859 change Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000013403 standard screening design Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Read Only Memory (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The application relates to a method and a device for adjusting the speed of a solid state disk, the solid state disk and a storage medium. The method comprises the following steps: acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk; determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation; and adjusting the transmission speed of the solid state disk to the target transmission speed. The embodiment of the invention can automatically adapt the environmental parameters and the transmission speed, realize the automatic adjustment of the transmission speed according to the environmental parameters and be more convenient for users to use.
Description
Technical Field
The present application relates to the field of solid state disks, and in particular, to a method and an apparatus for adjusting a speed of a solid state disk, and a storage medium.
Background
Solid State Drive (SSD), commonly called Solid State hard disk, currently most SSDs use NAND FLASH as storage medium, so that the SSD working principle is mostly based on NAND FLASH characteristic.
The solid state disk has different optimum parameters (such as Read Offset, ODT, ZQ Calibration, etc.) due to different external environments (such as different temperatures), different assembly parts (such as different batch numbers), different use conditions (such as NAND FLASH used frequently), etc., which causes the transmission speed of NAND FLASH to be slow, and further causes the data transmission time to be too long, thereby affecting the use.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a method and a device for adjusting the speed of a solid state disk, the solid state disk and a storage medium.
In a first aspect, the present application provides a method for adjusting a speed of a solid state disk, where the method includes:
acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk;
determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation;
and adjusting the transmission speed of the solid state disk to the target transmission speed.
Optionally, the method further comprises:
respectively carrying out data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters;
determining optimal use parameters corresponding to different preset environment parameters based on the change rule of the plurality of use parameters along with the change of the preset environment parameters;
respectively carrying out data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters, and determining actual use parameters corresponding to different preset environment parameters;
aiming at each preset environment parameter, comparing the optimal use parameter corresponding to the preset environment parameter with the actual use parameter to obtain a comparison result;
adjusting the data transmission speed according to the comparison result;
and establishing the corresponding relation of the environmental speeds based on a plurality of environmental parameters and the adjusted data transmission speed.
Optionally, the comparing the optimal usage parameter corresponding to the preset environmental parameter with the actual usage parameter to obtain a comparison result includes:
making a difference between the optimal use parameter and the actual use parameter;
if the difference between the two is positive, determining that the comparison result is that the optimal use parameter is greater than the actual use parameter;
and if the difference between the two is negative, determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter.
Optionally, the adjusting the data transmission speed according to the comparison result includes:
if the optimal use parameter is larger than the actual use parameter, reducing the data transmission speed of the solid state disk, and executing a step of performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is reduced to a preset minimum support speed;
and if the optimal use parameter is smaller than the actual use parameter, increasing the data transmission speed of the solid state disk, and executing a step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is increased to a preset maximum support speed.
In a second aspect, the present application provides a solid state disk speed adjusting apparatus, the apparatus includes:
the acquisition module is used for acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk;
the first determining module is used for determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation;
and the first adjusting module is used for adjusting the transmission speed of the solid state disk to the target transmission speed.
Optionally, the apparatus further comprises:
the first data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters;
the second determining module is used for determining the optimal use parameters corresponding to different preset environment parameters based on the change rule of the plurality of use parameters along with the change of the preset environment parameters;
the second data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively and determining actual use parameters corresponding to different preset environment parameters;
the comparison module is used for comparing the optimal use parameter corresponding to each preset environment parameter with the actual use parameter to obtain a comparison result;
the second adjusting module is used for adjusting the data transmission speed according to the comparison result;
and the establishing module is used for establishing the corresponding relation of the environmental speeds based on the plurality of environmental parameters and the adjusted data transmission speed.
Optionally, the comparing module includes:
the difference value calculation unit is used for making a difference between the optimal use parameter and the actual use parameter;
the first determining unit is used for determining that the comparison result is that the optimal use parameter is greater than the actual use parameter if the difference between the two is a positive number;
and the second determining unit is used for determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter if the difference between the two is a negative number.
Optionally, the second adjusting module includes:
the speed reduction unit is used for reducing the data transmission speed of the solid state disk if the optimal use parameter is larger than the actual use parameter, and executing the step of performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is reduced to a preset minimum support speed;
and the speed increasing unit is used for increasing the data transmission speed of the solid state disk if the optimal use parameter is smaller than the actual use parameter, and executing the step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is increased to a preset maximum support speed.
In a third aspect, the present application provides a solid state disk, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first aspect.
The method and the device for adjusting the speed of the solid state disk, the solid state disk and the storage medium comprise the following steps: according to the embodiment of the invention, the actual environment parameters corresponding to the environment conditions influencing the transmission speed of the solid state disk are firstly obtained, then the target transmission speed corresponding to the actual environment parameters is determined in the preset environment speed corresponding relation, and finally the transmission speed of the solid state disk can be adjusted to the target transmission speed.
The embodiment of the invention can automatically adapt the environmental parameters and the transmission speed, realize automatic adjustment of the transmission speed according to the environmental parameters and is more convenient for users to use.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is an application environment diagram of a method for adjusting the speed of a solid state disk according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for adjusting the speed of a solid state disk according to an embodiment of the present invention;
fig. 3 is a block diagram of a solid state disk speed adjusting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In one embodiment, as shown in fig. 1, a method for adjusting a speed of a solid state disk is provided. Referring to fig. 1, the method for adjusting the speed of a solid state disk may be applied to a solid state disk, and the method for adjusting the speed of a solid state disk specifically includes the following steps:
step S101, acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk;
in an embodiment of the present invention, the environmental conditions include internal environmental conditions and external environmental conditions, and the internal environmental conditions may include: the use conditions (such as erasing times, data reading/writing times and the like), the conditions of different batches of production or assembly materials and the like; the external environmental conditions include: high and low temperatures or humidity, etc.
Step S102, determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation;
in this step, the preset environment speed corresponding relationship includes a corresponding relationship between a plurality of pairs of environment parameters and the transmission speed, so that the environment parameter identical to the actual environment parameter can be found in the environment speed corresponding relationship, and the transmission speed corresponding to the environment parameter is determined as the target transmission speed.
In the embodiment of the present invention, as shown in fig. 2, the environment speed correspondence may be previously constructed in the following manner.
Step S201, performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively to obtain a plurality of use parameters;
step S202, determining optimal use parameters corresponding to different preset environment parameters based on the change rule of a plurality of use parameters along with the change of the preset environment parameters;
for example, if the change rule of the plurality of usage parameters along with the change of the preset environment parameters is in the form of a parabola with a downward opening, the usage parameter corresponding to the preset environment parameter at the lowest point of the parabola may be determined as the optimal usage parameter.
Step S203, respectively performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters, and determining actual use parameters corresponding to different preset environment parameters;
step S204, aiming at each preset environment parameter, comparing the optimal use parameter corresponding to the preset environment parameter with the actual use parameter to obtain a comparison result;
in this step, the optimal usage parameter and the actual usage parameter may be subtracted, and if the difference between the optimal usage parameter and the actual usage parameter is a positive number, the comparison result is determined to be that the optimal usage parameter is greater than the actual usage parameter;
and if the difference between the two is negative, determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter.
Step S205, adjusting the data transmission speed according to the comparison result;
in this step, if the optimal usage parameter is greater than the actual usage parameter, reducing the data transmission speed of the solid state disk, and performing a data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of usage parameters, until the data transmission speed is reduced to a preset minimum support speed; therefore, for the solid state disk with poor quality, the accuracy of data transmission can be ensured by reducing the transmission speed.
And if the optimal use parameter is smaller than the actual use parameter, increasing the data transmission speed of the solid state disk, and executing a step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively to obtain a plurality of use parameters until the data transmission speed is increased to a preset maximum support speed. Therefore, for the solid state disk with good quality, the data transmission time can be saved by improving the transmission speed.
Step S206, establishing the corresponding relation of the environmental speeds based on a plurality of environmental parameters and the adjusted data transmission speed.
Step S103, adjusting the transmission speed of the solid state disk to the target transmission speed.
According to the embodiment of the invention, the actual environment parameters corresponding to the environment conditions influencing the transmission speed of the solid state disk are firstly obtained, then the target transmission speed corresponding to the actual environment parameters is determined in the preset environment speed corresponding relation, and finally the transmission speed of the solid state disk can be adjusted to the target transmission speed.
The embodiment of the invention can automatically adapt the environmental parameters and the transmission speed, realize automatic adjustment of the transmission speed according to the environmental parameters and is more convenient for users to use.
The solid state disk speed adjusting method utilizes the technical characteristics of the exclusive rights of the solid state disk speed adjusting method to carry out derivation, and achieves the beneficial effect of solving the technical problems in the background technology.
Fig. 1 and fig. 2 are schematic flow diagrams of a method for adjusting a speed of a solid state disk in an embodiment. It should be understood that although the steps in the flowcharts of fig. 1 and 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In another embodiment of the present invention, there is further provided a solid state disk speed adjusting apparatus, as shown in fig. 3, the apparatus includes:
the obtaining module 11 is configured to obtain an actual environment parameter corresponding to an environment condition that affects a transmission speed of the solid state disk;
a first determining module 12, configured to determine, in a preset environment speed correspondence, a target transmission speed corresponding to the actual environment parameter;
and a first adjusting module 13, configured to adjust the transmission speed of the solid state disk to the target transmission speed.
In yet another embodiment of the present invention, the apparatus further comprises:
the first data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters;
the second determining module is used for determining the optimal use parameters corresponding to different preset environment parameters based on the change rule of the plurality of use parameters along with the change of the preset environment parameters;
the second data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively and determining actual use parameters corresponding to different preset environment parameters;
the comparison module is used for comparing the optimal use parameter corresponding to each preset environment parameter with the actual use parameter to obtain a comparison result;
the second adjusting module is used for adjusting the data transmission speed according to the comparison result;
and the establishing module is used for establishing the corresponding relation of the environmental speeds based on the plurality of environmental parameters and the adjusted data transmission speed.
In another embodiment of the present invention, the comparing module includes:
the difference value calculation unit is used for making a difference between the optimal use parameter and the actual use parameter;
and the first determining unit is used for determining that the comparison result is that the optimal use parameter is greater than the actual use parameter if the difference between the two is a positive number.
And the second determining unit is used for determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter if the difference between the two is a negative number.
In another embodiment of the present invention, the second adjusting module includes:
the speed reduction unit is used for reducing the data transmission speed of the solid state disk if the optimal use parameter is larger than the actual use parameter, and executing the step of performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is reduced to a preset minimum support speed;
and the speed increasing unit is used for increasing the data transmission speed of the solid state disk if the optimal use parameter is smaller than the actual use parameter, and executing the step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is increased to a preset maximum support speed.
In yet another embodiment of the present invention, a solid state disk is further provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the method in any one of the foregoing method embodiments when executing the computer program.
In a further embodiment of the invention, a computer-readable storage medium is also provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of the preceding method embodiments.
In one embodiment, the solid state disk speed adjusting apparatus provided in the present application may be implemented in a form of a computer program, and the computer program may be executed on the solid state disk. The memory of the solid state disk may store various program modules constituting the speed adjustment apparatus of the solid state disk, such as the obtaining module 11, the first determining module 12 and the first adjusting module 13 shown in fig. 3. The computer program formed by the program modules enables the processor to execute the steps of the solid state disk speed adjusting method of the embodiments of the application described in the specification.
For example, the solid state disk may execute step S101 through the obtaining module 11 in the solid state disk speed adjusting apparatus shown in fig. 3, may execute step S102 through the first determining module 12, and may execute step S103 through the second determining module 13.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A method for adjusting the speed of a solid state disk is characterized by comprising the following steps:
acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk;
determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation;
adjusting the transmission speed of the solid state disk to the target transmission speed;
before obtaining actual environmental parameters corresponding to environmental conditions affecting the transmission speed of the solid state disk, the method further includes:
respectively carrying out data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters;
determining optimal use parameters corresponding to different preset environment parameters based on the change rule of the plurality of use parameters along with the change of the preset environment parameters;
respectively carrying out data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters, and determining actual use parameters corresponding to different preset environment parameters;
aiming at each preset environment parameter, comparing the optimal use parameter corresponding to the preset environment parameter with the actual use parameter to obtain a comparison result;
adjusting the data transmission speed according to the comparison result;
and establishing the corresponding relation of the environmental speeds based on a plurality of environmental parameters and the adjusted data transmission speed.
2. The method according to claim 1, wherein the comparing the optimal usage parameter corresponding to the preset environmental parameter with the actual usage parameter to obtain a comparison result comprises:
making a difference between the optimal use parameter and the actual use parameter;
if the difference between the two is positive, determining that the comparison result is that the optimal use parameter is greater than the actual use parameter;
and if the difference between the two is negative, determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter.
3. The method of claim 2, wherein said adjusting the data transmission speed based on the comparison comprises:
if the optimal use parameter is larger than the actual use parameter, reducing the data transmission speed of the solid state disk, and executing a step of performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is reduced to a preset minimum support speed;
and if the optimal use parameter is smaller than the actual use parameter, increasing the data transmission speed of the solid state disk, and executing a step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is increased to a preset maximum support speed.
4. A solid state disk speed adjusting device, the device comprising:
the acquisition module is used for acquiring actual environmental parameters corresponding to environmental conditions influencing the transmission speed of the solid state disk;
the first determining module is used for determining a target transmission speed corresponding to the actual environment parameter in a preset environment speed corresponding relation;
the first adjusting module is used for adjusting the transmission speed of the solid state disk to the target transmission speed;
the first data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters;
the second determining module is used for determining the optimal use parameters corresponding to different preset environment parameters based on the change rule of the plurality of use parameters along with the change of the preset environment parameters;
the second data operation module is used for performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively and determining actual use parameters corresponding to different preset environment parameters;
the comparison module is used for comparing the optimal use parameter corresponding to each preset environment parameter with the actual use parameter to obtain a comparison result;
the second adjusting module is used for adjusting the data transmission speed according to the comparison result;
and the establishing module is used for establishing the corresponding relation of the environmental speeds based on the plurality of environmental parameters and the adjusted data transmission speed.
5. The apparatus of claim 4, wherein the comparison module comprises:
the difference value calculation unit is used for making a difference between the optimal use parameter and the actual use parameter;
the first determining unit is used for determining that the comparison result is that the optimal use parameter is greater than the actual use parameter if the difference between the two is a positive number;
and the second determining unit is used for determining that the comparison result is that the optimal use parameter is smaller than the actual use parameter if the difference between the two is a negative number.
6. The apparatus of claim 5, wherein the second adjusting module comprises:
the speed reduction unit is used for reducing the data transmission speed of the solid state disk if the optimal use parameter is larger than the actual use parameter, and executing the step of performing data operation on data in an idle storage area in the NAND flash memory under a plurality of preset environment parameters to obtain a plurality of use parameters until the data transmission speed is reduced to a preset minimum support speed;
and the speed increasing unit is used for increasing the data transmission speed of the solid state disk if the optimal use parameter is smaller than the actual use parameter, and executing the step of performing data operation on the data in the idle storage area in the NAND flash memory under a plurality of preset environment parameters respectively to obtain a plurality of use parameters until the data transmission speed is increased to the preset maximum support speed.
7. A solid state disk comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 3 are implemented when the computer program is executed by the processor.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591217.7A CN110489058B (en) | 2019-07-02 | 2019-07-02 | Solid state disk speed adjusting method and device, solid state disk and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910591217.7A CN110489058B (en) | 2019-07-02 | 2019-07-02 | Solid state disk speed adjusting method and device, solid state disk and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110489058A CN110489058A (en) | 2019-11-22 |
CN110489058B true CN110489058B (en) | 2023-03-31 |
Family
ID=68546762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910591217.7A Active CN110489058B (en) | 2019-07-02 | 2019-07-02 | Solid state disk speed adjusting method and device, solid state disk and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110489058B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113360557A (en) * | 2021-05-28 | 2021-09-07 | 青岛海信网络科技股份有限公司 | Method, device, equipment and medium for adjusting data integration speed |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982836A (en) * | 2012-11-21 | 2013-03-20 | 记忆科技(深圳)有限公司 | Method for improving reliability of solid state disk and solid state disk of method |
WO2018077292A1 (en) * | 2016-10-28 | 2018-05-03 | 北京市商汤科技开发有限公司 | Data processing method and system, electronic device |
CN208157071U (en) * | 2018-05-11 | 2018-11-27 | 深圳市金泰克半导体有限公司 | A kind of solid state hard disk |
CN109285583A (en) * | 2018-09-11 | 2019-01-29 | 中国科学院空间应用工程与技术中心 | Nand flash memory solid state hard disk space environment effect test macro and test method |
CN109857337A (en) * | 2018-12-10 | 2019-06-07 | 浪潮(北京)电子信息产业有限公司 | A kind of writing speed control method, system, device and readable storage medium storing program for executing |
-
2019
- 2019-07-02 CN CN201910591217.7A patent/CN110489058B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982836A (en) * | 2012-11-21 | 2013-03-20 | 记忆科技(深圳)有限公司 | Method for improving reliability of solid state disk and solid state disk of method |
WO2018077292A1 (en) * | 2016-10-28 | 2018-05-03 | 北京市商汤科技开发有限公司 | Data processing method and system, electronic device |
CN208157071U (en) * | 2018-05-11 | 2018-11-27 | 深圳市金泰克半导体有限公司 | A kind of solid state hard disk |
CN109285583A (en) * | 2018-09-11 | 2019-01-29 | 中国科学院空间应用工程与技术中心 | Nand flash memory solid state hard disk space environment effect test macro and test method |
CN109857337A (en) * | 2018-12-10 | 2019-06-07 | 浪潮(北京)电子信息产业有限公司 | A kind of writing speed control method, system, device and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN110489058A (en) | 2019-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11055360B2 (en) | Data write-in method and apparatus in a distributed file system | |
CN112930566B (en) | Dynamic temperature compensation in memory components | |
CN110489058B (en) | Solid state disk speed adjusting method and device, solid state disk and storage medium | |
CN104731522A (en) | Data storage device and data maintenance method thereof | |
CN111966299A (en) | Wear leveling method and device for Nand Flash | |
US10564891B2 (en) | Storage device operations using a die translation table | |
CN106611005B (en) | Method and device for setting crawling time interval of crawler | |
US20180357002A1 (en) | A method for calibrating the read latency of a ddr dram module | |
US11620058B2 (en) | Temperature-adjusted power-on data retention time tracking for solid state drives | |
CN113868052B (en) | IOPS (input/output) testing method and device based on PID (proportion integration differentiation) algorithm and storage medium | |
US20150074492A1 (en) | Memory system and memory controller | |
CN110889524B (en) | Power failure reservation application processing method and device, computer equipment and medium | |
CN102662866B (en) | File cache management method and memory management system | |
CN110634527B (en) | Nonvolatile memory processing method and device | |
CN113010338B (en) | Error leakage threshold value adjusting method, device, equipment and medium of memory CE | |
CN110634525B (en) | Nonvolatile memory processing method and device | |
CN117391404B (en) | Control method and device for coating transverse surface density of lithium battery and electronic equipment | |
CN110634521B (en) | Nonvolatile memory processing method and device | |
US20200278904A1 (en) | Retry-Read Method | |
CN111696612B (en) | Data reading method, device and medium for nonvolatile memory | |
CN113838494B (en) | DRAM DLL time sequence temperature self-adaptive calibration method and system | |
CN115132259B (en) | Method, device, equipment and medium for calculating reading coefficient | |
US20240177795A1 (en) | Dynamic read calibration | |
CN114487833A (en) | Optimization method and system for long-time SOC (system on chip) accumulated error of slow charging and charging of lithium battery | |
CN110634526A (en) | Nonvolatile memory processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Method and device for adjusting the speed of solid-state drives, solid-state drives, and storage media Effective date of registration: 20231120 Granted publication date: 20230331 Pledgee: Bank of Shanghai Limited by Share Ltd. Shenzhen branch Pledgor: SHENZHEN TIGO SEMICONDUCTOR Co.,Ltd. Registration number: Y2023980066527 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |