[go: up one dir, main page]

CN103218173B - Storage controlling method and device - Google Patents

Storage controlling method and device Download PDF

Info

Publication number
CN103218173B
CN103218173B CN201310102483.1A CN201310102483A CN103218173B CN 103218173 B CN103218173 B CN 103218173B CN 201310102483 A CN201310102483 A CN 201310102483A CN 103218173 B CN103218173 B CN 103218173B
Authority
CN
China
Prior art keywords
hard disk
mechanical hard
threshold
vibration
temperature
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.)
Expired - Fee Related
Application number
CN201310102483.1A
Other languages
Chinese (zh)
Other versions
CN103218173A (en
Inventor
陈勇军
吴汇梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310102483.1A priority Critical patent/CN103218173B/en
Publication of CN103218173A publication Critical patent/CN103218173A/en
Application granted granted Critical
Publication of CN103218173B publication Critical patent/CN103218173B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

本发明公开了一种存储控制方法及装置,属于计算机领域。所述方法包括:获取控制参数,所述控制参数包括:系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;根据获取到的所述控制参数对混合存储系统中的存储操作进行控制。本发明通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数,并根据获取到的控制参数对混合存储系统中的存储操作进行控制,解决了现有技术中只基于固态硬盘所具有的读写速度快的优点进行控制的问题,达到提高系统性能的目的。

The invention discloses a storage control method and device, belonging to the field of computers. The method includes: obtaining a control parameter, the control parameter including: at least one of the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid state hard disk, and the remaining capacity of the solid state hard disk type; controlling storage operations in the hybrid storage system according to the acquired control parameters. The present invention obtains at least one control parameter among the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk, and according to the obtained control parameter Controlling the storage operation in the hybrid storage system solves the problem in the prior art that the control is only based on the advantage of fast reading and writing speeds of the solid-state hard disk, and achieves the purpose of improving system performance.

Description

存储控制方法及装置Storage control method and device

技术领域technical field

本发明涉及计算机领域,特别涉及一种存储控制方法及装置。The invention relates to the field of computers, in particular to a storage control method and device.

背景技术Background technique

按照所采用的存储介质的不同,现有的硬盘可以分为机械硬盘和固态硬盘两类。其中,机械硬盘具有价格便宜、存储量较大且使用寿命长的优点;固态硬盘则具有抗震性强、读写速度快且使用温度范围广的优点。为了兼顾性能和使用成本,通常可以用机械硬盘和固态硬盘组成混合存储系统。而若要充分发挥两种存储介质的长处,则需要对混合存储系统中的存储操作进行适当的控制。According to the different storage media used, existing hard disks can be divided into mechanical hard disks and solid-state hard disks. Among them, the mechanical hard disk has the advantages of cheap price, large storage capacity and long service life; the solid-state hard disk has the advantages of strong shock resistance, fast read and write speed and wide temperature range. In order to balance performance and cost of use, mechanical hard disks and solid-state hard disks can usually be used to form a hybrid storage system. However, if we want to give full play to the strengths of the two storage media, we need to properly control the storage operation in the hybrid storage system.

现有的存储控制方法,对混合存储系统中存储的数据的被访问次数进行统计,将被访问次数较多的数据搬移到固态硬盘中,并将被访问次数较少的数据搬移到机械硬盘中,以此充分利用固态硬盘读写速度快的优势。The existing storage control method counts the access times of the data stored in the hybrid storage system, moves the data with more access times to the solid-state hard disk, and moves the data with less access times to the mechanical hard disk , so as to make full use of the advantages of fast read and write speeds of solid-state drives.

在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:

现有的读写控制方法中,只基于固态硬盘所具有的读写速度快的优点进行存储控制,而对机械硬盘所具有的优点和缺点则没有太多考虑,无法充分发挥混合存储系统中采用不同存储介质的两类硬盘各自的长处,从而无法达到更好的系统性能。In the existing read-write control methods, the storage control is only based on the advantages of fast read-write speed of the solid-state hard disk, but the advantages and disadvantages of the mechanical hard disk are not considered too much, and it is impossible to give full play to the advantages and disadvantages of the hybrid storage system. The two types of hard disks with different storage media have their own strengths, so they cannot achieve better system performance.

发明内容Contents of the invention

为了解决现有技术中只基于固态硬盘读写速度快的优点进行存储控制的问题,本发明实施例提供了一种存储控制方法及装置。所述技术方案如下:In order to solve the problem in the prior art that storage control is performed only based on the advantages of fast read and write speeds of solid-state hard disks, embodiments of the present invention provide a storage control method and device. Described technical scheme is as follows:

第一方面,提供了一种存储控制方法,用于包含有机械硬盘和固态硬盘的混合存储系统中,所述方法包括:In a first aspect, a storage control method is provided, which is used in a hybrid storage system including a mechanical hard disk and a solid-state hard disk, the method comprising:

获取控制参数,所述控制参数包括:机械硬盘的温度数值和机械硬盘的振动数值中的至少一种,所述机械硬盘的振动数值由振动传感器获取;Acquire control parameters, the control parameters include: at least one of the temperature value of the mechanical hard disk and the vibration value of the mechanical hard disk, and the vibration value of the mechanical hard disk is obtained by a vibration sensor;

根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制;controlling storage operations in the hybrid storage system according to the acquired control parameters;

当所述控制参数包括所述机械硬盘的温度数值时,所述根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制,包括:When the control parameter includes the temperature value of the mechanical hard disk, controlling the storage operation in the hybrid storage system according to the obtained control parameter includes:

检测所述机械硬盘的温度数值是否超过第一温度阈值;Detecting whether the temperature value of the mechanical hard disk exceeds a first temperature threshold;

若检测出所述机械硬盘的温度数值超过所述第一温度阈值,则控制所述机械硬盘降低读写速度;If it is detected that the temperature value of the mechanical hard disk exceeds the first temperature threshold, the mechanical hard disk is controlled to reduce the read/write speed;

当所述控制参数包括所述机械硬盘的振动数值时,所述根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制,包括:When the control parameter includes the vibration value of the mechanical hard disk, controlling the storage operation in the hybrid storage system according to the obtained control parameter includes:

检测所述机械硬盘的振动数值是否超过第一振动阈值;Detecting whether the vibration value of the mechanical hard disk exceeds a first vibration threshold;

若检测出所述机械硬盘的振动数值超过所述第一振动阈值,则控制所述机械硬盘降低读写速度。If it is detected that the vibration value of the mechanical hard disk exceeds the first vibration threshold, the mechanical hard disk is controlled to reduce the read/write speed.

在第一方面的第一种可能实现方式中,所述控制参数还包括系统业务的类型,当所述控制参数包括所述系统业务的类型时,所述根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制,包括:In a first possible implementation manner of the first aspect, the control parameter further includes the type of system service, and when the control parameter includes the type of the system service, the Storage operations in the hybrid storage system described above are controlled, including:

检测所述系统业务的类型是否为顺序写入;其中,所述顺序写入为:所述系统业务的数据写入扇区为连续扇区时所述系统业务的类型;Detecting whether the type of the system service is sequential writing; wherein, the sequential writing is: the type of the system service when the data writing sector of the system service is a continuous sector;

若检测出所述系统业务的类型为顺序写入,则控制所述系统业务的业务数据优先向所述固态硬盘中写入。If it is detected that the type of the system service is sequential writing, then the service data controlling the system service is preferentially written into the solid-state hard disk.

在第一方面的第二种可能实现方式中,所述控制所述机械硬盘降低读写速度之后,还包括:In the second possible implementation manner of the first aspect, after controlling the mechanical hard disk to reduce the read/write speed, it further includes:

检测所述机械硬盘的温度数值是否超过第二温度阈值,所述第二温度阈值大于所述第一温度阈值;Detecting whether the temperature value of the mechanical hard disk exceeds a second temperature threshold, and the second temperature threshold is greater than the first temperature threshold;

若检测出所述机械硬盘的温度数值超过所述第二温度阈值,则控制所述机械硬盘停止运行。If it is detected that the temperature value of the mechanical hard disk exceeds the second temperature threshold, the mechanical hard disk is controlled to stop running.

结合第一方面的第二种可能实现方式,在第一方面的第三种可能实现方式中,所述控制所述机械硬盘停止运行之后,还包括:With reference to the second possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, after the controlling the stop of the mechanical hard disk, further includes:

检测所述机械硬盘的温度数值是否低于第三温度阈值,所述第三温度阈值等于或者小于所述第二温度阈值;Detecting whether the temperature value of the mechanical hard disk is lower than a third temperature threshold, and the third temperature threshold is equal to or smaller than the second temperature threshold;

若检测出所述机械硬盘的温度数值低于所述第三温度阈值,则控制所述机械硬盘重新开始运行。If it is detected that the temperature value of the mechanical hard disk is lower than the third temperature threshold, the mechanical hard disk is controlled to restart operation.

在第一方面的第四种可能实现方式中,所述控制所述机械硬盘降低读写速度之后,还包括:In the fourth possible implementation manner of the first aspect, after controlling the mechanical hard disk to reduce the read/write speed, it further includes:

检测所述机械硬盘的振动数值是否超过第二振动阈值,所述第二振动阈值大于所述第一振动阈值;Detecting whether the vibration value of the mechanical hard disk exceeds a second vibration threshold, and the second vibration threshold is greater than the first vibration threshold;

若检测出所述机械硬盘的振动数值超过所述第二振动阈值,则控制所述机械硬盘停止运行。If it is detected that the vibration value of the mechanical hard disk exceeds the second vibration threshold, the mechanical hard disk is controlled to stop running.

结合第一方面的第五种可能实现方式,在第一方面的第六种可能实现方式中,所述控制所述机械硬盘停止运行之后,还包括:With reference to the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, after the controlling the stopping of the mechanical hard disk, further includes:

检测所述机械硬盘的振动数值是否低于第三振动阈值,所述第三振动阈值等于或者小于所述第二振动阈值;Detecting whether the vibration value of the mechanical hard disk is lower than a third vibration threshold, where the third vibration threshold is equal to or smaller than the second vibration threshold;

若检测出所述机械硬盘的振动数值低于所述第三振动阈值,则控制所述机械硬盘重新开始运行。If it is detected that the vibration value of the mechanical hard disk is lower than the third vibration threshold, the mechanical hard disk is controlled to restart operation.

在第一方面的第七种可能实现方式中,所述控制参数还包括固体硬盘的剩余可擦写次数,当所述控制参数包括所述固态硬盘的剩余可擦写次数时,所述根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制,包括:In a seventh possible implementation manner of the first aspect, the control parameter further includes the remaining erasable times of the solid-state hard disk, and when the control parameter includes the remaining erasable times of the solid-state hard disk, the The obtained control parameters control the storage operation in the hybrid storage system, including:

检测所述固态硬盘的剩余可擦写次数是否小于预定擦写阈值;Detecting whether the remaining erasable times of the solid-state hard disk is less than a predetermined erasing threshold;

若检测出所述固态硬盘的剩余可擦写次数小于所述预定擦写阈值,则控制所述固态硬盘停止擦写操作。If it is detected that the remaining erasable times of the solid state hard disk is less than the preset erasable threshold, the solid state hard disk is controlled to stop the erasing and writing operation.

在第一方面的第八种可能实现方式中,所述控制参数还包括固态硬盘的剩余容量,当所述控制参数包括所述固态硬盘的剩余容量时,所述根据获取到的所述控制参数对所述混合存储系统中的存储操作进行控制,包括:In an eighth possible implementation manner of the first aspect, the control parameter further includes the remaining capacity of the solid state disk, and when the control parameter includes the remaining capacity of the solid state disk, the obtained control parameter Controlling storage operations in the hybrid storage system includes:

检测所述固态硬盘的剩余容量是否小于预定容量阈值;Detecting whether the remaining capacity of the solid-state hard disk is less than a predetermined capacity threshold;

若检测出所述固态硬盘的剩余容量小于所述预定容量阈值,则将所述固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到所述机械硬盘中。If it is detected that the remaining capacity of the solid-state hard disk is less than the predetermined capacity threshold, the data of the predetermined data volume that is not currently accessed in the solid-state hard disk and has been accessed the least number of times in history is moved to the mechanical hard disk.

第二方面,提供了一种存储控制装置,用于包含有机械硬盘和固态硬盘的混合存储系统中,所述装置包括:In a second aspect, a storage control device is provided, which is used in a hybrid storage system including a mechanical hard disk and a solid-state hard disk, and the device includes:

控制参数获取模块,用于获取控制参数,所述控制参数包括:机械硬盘的温度数值和机械硬盘的振动数值中的至少一种,所述机械硬盘的振动数值由振动传感器获取;A control parameter acquisition module, configured to acquire a control parameter, the control parameter comprising: at least one of a temperature value of the mechanical hard disk and a vibration value of the mechanical hard disk, and the vibration value of the mechanical hard disk is obtained by a vibration sensor;

控制模块,用于根据所述控制参数获取模块获取到的所述控制参数对所述混合存储系统中的存储操作进行控制;a control module, configured to control storage operations in the hybrid storage system according to the control parameters acquired by the control parameter acquisition module;

所述控制模块包括:The control module includes:

第一温度检测单元,用于当所述控制参数获取模块获取到的控制参数包括所述机械硬盘的温度数值时,检测所述机械硬盘的温度数值是否超过第一温度阈值;A first temperature detection unit, configured to detect whether the temperature value of the mechanical hard disk exceeds a first temperature threshold when the control parameter acquired by the control parameter acquisition module includes the temperature value of the mechanical hard disk;

第二控制单元,用于若所述第一温度检测单元检测出所述机械硬盘的温度数值超过所述第一温度阈值,则控制所述机械硬盘降低读写速度;The second control unit is configured to control the mechanical hard disk to reduce the read/write speed if the first temperature detection unit detects that the temperature value of the mechanical hard disk exceeds the first temperature threshold;

所述控制模块还包括:The control module also includes:

第一振动检测单元,用于当所述控制参数获取模块获取到的控制参数包括所述机械硬盘的振动数值时,检测所述机械硬盘的振动数值是否超过第一振动阈值;A first vibration detection unit, configured to detect whether the vibration value of the mechanical hard disk exceeds a first vibration threshold when the control parameter acquired by the control parameter acquisition module includes the vibration value of the mechanical hard disk;

第五控制单元,用于若所述第一振动检测单元检测出所述机械硬盘的振动数值超过所述第一振动阈值,则控制所述机械硬盘降低读写速度。The fifth control unit is configured to control the mechanical hard disk to reduce the read/write speed if the first vibration detection unit detects that the vibration value of the mechanical hard disk exceeds the first vibration threshold.

在第二方面的第一种可能实现方式中,所述控制参数还包括系统业务的类型,所述控制模块包括:In a first possible implementation manner of the second aspect, the control parameter further includes a system service type, and the control module includes:

业务类型检测单元,用于当所述控制参数获取模块获取到的控制参数包括所述系统业务的类型时,检测所述系统业务的类型是否为顺序写入;所述顺序写入为:所述系统业务的数据写入扇区为连续扇区时所述系统业务的类型;A business type detection unit, configured to detect whether the type of system business is sequential writing when the control parameter acquired by the control parameter acquisition module includes the type of the system business; the sequential writing is: the The type of the system service when the data writing sector of the system service is a continuous sector;

第一控制单元,用于若所述业务类型检测单元检测出所述系统业务的类型为顺序写入,则控制所述系统业务的业务数据优先向所述固态硬盘中写入。The first control unit is configured to, if the service type detecting unit detects that the type of the system service is sequential writing, then control the service data of the system service to be written into the solid-state hard disk preferentially.

在第二方面的第二种可能实现方式中,所述控制模块还包括:In a second possible implementation manner of the second aspect, the control module further includes:

第二温度检测单元,用于在所述第二控制单元控制所述机械硬盘降低读写速度之后,检测所述机械硬盘的温度数值是否超过第二温度阈值,所述第二温度阈值大于所述第一温度阈值;The second temperature detection unit is configured to detect whether the temperature value of the mechanical hard disk exceeds a second temperature threshold after the second control unit controls the mechanical hard disk to reduce the read/write speed, and the second temperature threshold is greater than the a first temperature threshold;

第三控制单元,用于若所述第二温度检测单元检测出所述机械硬盘的温度数值超过所述第二温度阈值,则控制所述机械硬盘停止运行。The third control unit is configured to control the mechanical hard disk to stop running if the second temperature detection unit detects that the temperature value of the mechanical hard disk exceeds the second temperature threshold.

结合第二方面的第二种可能实现方式,在第二方面的第三种可能实现方式中,所述控制模块还包括:With reference to the second possible implementation of the second aspect, in a third possible implementation of the second aspect, the control module further includes:

第三温度检测单元,用于在所述第三控制单元控制所述机械硬盘停止运行之后,检测所述机械硬盘的温度数值是否低于第三温度阈值,所述第三温度阈值等于或者小于所述第二温度阈值;A third temperature detection unit, configured to detect whether the temperature value of the mechanical hard disk is lower than a third temperature threshold after the third control unit controls the mechanical hard disk to stop running, and the third temperature threshold is equal to or lower than the specified temperature threshold. the second temperature threshold;

第四控制单元,用于若所述第三温度检测单元检测出所述机械硬盘的温度数值低于所述第三温度阈值,则控制所述机械硬盘重新开始运行。The fourth control unit is configured to control the mechanical hard disk to restart operation if the third temperature detection unit detects that the temperature value of the mechanical hard disk is lower than the third temperature threshold.

在第二方面的第四种可能实现方式中,所述控制模块还包括:In a fourth possible implementation manner of the second aspect, the control module further includes:

第二振动检测单元,用于在所述第五控制单元控制所述机械硬盘降低读写速度之后,检测所述机械硬盘的振动数值是否超过第二振动阈值,所述第二振动阈值大于所述第一振动阈值;The second vibration detection unit is configured to detect whether the vibration value of the mechanical hard disk exceeds a second vibration threshold after the fifth control unit controls the mechanical hard disk to reduce the read/write speed, and the second vibration threshold is greater than the first vibration threshold;

第六控制单元,用于若所述第二振动检测单元检测出所述机械硬盘的振动数值超过所述第二振动阈值,则控制所述机械硬盘停止运行。The sixth control unit is configured to control the mechanical hard disk to stop running if the second vibration detection unit detects that the vibration value of the mechanical hard disk exceeds the second vibration threshold.

结合第二方面的第四种可能实现方式,在第二方面的第五种可能实现方式中,所述控制模块还包括:With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the control module further includes:

第三振动检测单元,用于在所述第六控制单元控制所述机械硬盘停止运行之后,检测所述机械硬盘的振动数值是否低于第三振动阈值,所述第三振动阈值等于或者小于所述第二振动阈值;The third vibration detection unit is configured to detect whether the vibration value of the mechanical hard disk is lower than a third vibration threshold after the sixth control unit controls the mechanical hard disk to stop running, and the third vibration threshold is equal to or smaller than the specified vibration threshold. The second vibration threshold;

第七控制单元,用于若所述第三振动检测单元检测出所述机械硬盘的振动数值低于所述第三振动阈值,则控制所述机械硬盘重新开始运行。The seventh control unit is configured to control the mechanical hard disk to restart operation if the third vibration detection unit detects that the vibration value of the mechanical hard disk is lower than the third vibration threshold.

在第二方面的第六种可能实现方式中,所述控制参数还包括固体硬盘的剩余可擦写次数,所述控制模块包括:In a sixth possible implementation manner of the second aspect, the control parameter further includes the remaining erasable times of the solid-state hard disk, and the control module includes:

擦写次数检测单元,用于当所述控制参数获取模块获取到的控制参数包括所述固态硬盘的剩余可擦写次数时,检测所述固态硬盘的剩余可擦写次数是否小于预定擦写次数阈值;A rewritable times detection unit, configured to detect whether the remaining rewritable times of the solid state hard disk is less than a predetermined number of rewritable times when the control parameters acquired by the control parameter acquisition module include the remaining rewritable times of the solid state hard disk threshold;

第八控制单元,用于若所述擦写次数检测单元检测出所述固态硬盘的剩余可擦写次数小于所述预定擦写次数阈值,则控制所述固态硬盘停止擦写操作。The eighth control unit is configured to control the solid state hard disk to stop the erasing operation if the erasing count detection unit detects that the remaining erasing count of the solid state hard disk is less than the preset erasing count threshold.

在第二方面的第八种可能实现方式中,所述控制参数还包括固体硬盘的剩余容量,所述控制模块包括:In an eighth possible implementation manner of the second aspect, the control parameter further includes the remaining capacity of the solid-state hard disk, and the control module includes:

剩余容量检测单元,用于当所述控制参数获取模块获取到的控制参数包括所述固态硬盘的剩余容量时,检测所述固态硬盘的剩余容量是否小于预定容量阈值;A remaining capacity detection unit, configured to detect whether the remaining capacity of the solid-state hard disk is less than a predetermined capacity threshold when the control parameters acquired by the control parameter acquisition module include the remaining capacity of the solid-state hard disk;

第九控制单元,用于若所述剩余容量检测单元检测出所述固态硬盘的剩余容量小于所述预定容量阈值,则将所述固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到所述机械硬盘中。The ninth control unit is configured to, if the remaining capacity detection unit detects that the remaining capacity of the solid-state hard disk is less than the predetermined capacity threshold, then save the predetermined capacity of the solid-state hard disk that is not currently accessed and has the least number of historical accesses The data of the data volume is moved to the mechanical hard disk.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数,并根据获取到的控制参数对混合存储系统中的存储操作进行控制,解决了现有技术中只基于固态硬盘所具有的读写速度快的优点进行控制的问题,达到充分发挥混合存储系统中采用不同存储介质的两类硬盘各自长处,获得更好的系统性能的目的。By obtaining at least one of the control parameters of the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk, and according to the obtained control parameters. The storage operation in the storage system is controlled, which solves the problem in the prior art that the control is only based on the advantages of fast read and write speeds of the solid-state hard disk, and fully utilizes the respective advantages of the two types of hard disks using different storage media in the hybrid storage system. , for the purpose of obtaining better system performance.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明一个实施例提供的存储控制方法的方法流程图;Fig. 1 is a method flowchart of a storage control method provided by an embodiment of the present invention;

图2是本发明另一实施例提供的存储控制方法的方法流程图;Fig. 2 is a method flowchart of a storage control method provided by another embodiment of the present invention;

图3是本发明一个实施例提供的存储控制装置的装置结构图;Fig. 3 is a device structure diagram of a storage control device provided by an embodiment of the present invention;

图4是本发明另一实施例提供的存储控制装置的装置结构图;Fig. 4 is a device structure diagram of a storage control device provided by another embodiment of the present invention;

图5是本发明一个实施例提供的存储控制装置的装置结构图;Fig. 5 is a device structure diagram of a storage control device provided by an embodiment of the present invention;

图6是本发明另一实施例提供的存储控制装置的装置结构图。Fig. 6 is a device structural diagram of a storage control device provided by another embodiment of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

请参考图1,其示出了本发明一个实施例提供的存储控制方法的方法流程图。该存储控制方法应用于包含有机械硬盘和固态硬盘的混合存储系统中,该存储控制方法可以包括:Please refer to FIG. 1 , which shows a method flowchart of a storage control method provided by an embodiment of the present invention. The storage control method is applied to a hybrid storage system including a mechanical hard disk and a solid state disk, and the storage control method may include:

步骤102,获取控制参数,该控制参数包括:系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;Step 102, obtaining control parameters, the control parameters include: at least one of the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk;

步骤104,根据获取到的该控制参数对混合存储系统中的存储操作进行控制。Step 104: Control the storage operation in the hybrid storage system according to the obtained control parameter.

综上所述,本发明实施例提供的存储控制方法,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数,并根据获取到的控制参数对混合存储系统中的存储操作进行控制,解决了现有技术中只基于固态硬盘所具有的读写速度快的优点进行控制的问题,达到充分发挥混合存储系统中采用不同存储介质的两类硬盘各自长处,获得更好的系统性能的目的。To sum up, the storage control method provided by the embodiment of the present invention obtains the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. at least one control parameter, and control the storage operation in the hybrid storage system according to the obtained control parameter, which solves the problem in the prior art that the control is only based on the advantages of fast read and write speeds of the solid-state hard disk, and achieves sufficient The purpose of giving full play to the respective strengths of the two types of hard disks using different storage media in the hybrid storage system is to obtain better system performance.

为了对上述图1所示的存储控制方法做进一步描述,请参考图2,其示出了本发明另一实施例提供的存储控制方法的方法流程图。以应用于包含有机械硬盘和固态硬盘的混合存储系统中为例,该存储控制方法可以包括:In order to further describe the storage control method shown in FIG. 1 , please refer to FIG. 2 , which shows a flow chart of a storage control method according to another embodiment of the present invention. Taking the application in a hybrid storage system including a mechanical hard disk and a solid state disk as an example, the storage control method may include:

步骤202,存储系统获取控制参数,该控制参数包括:系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;Step 202, the storage system obtains control parameters, the control parameters include: at least one of the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk ;

其中,系统业务的类型可以分为顺序写入和随机写入,其中,顺序写入为系统业务的数据写入扇区为连续扇区时该系统业务的类型,随机写入为系统业务的数据写入扇区为不连续扇区时该系统业务的类型。Among them, the type of system business can be divided into sequential writing and random writing, wherein, sequential writing is the type of system business when the data writing sector of the system business is a continuous sector, and random writing is the data of the system business The type of the system service when the writing sector is a discontinuous sector.

机械硬盘的温度数值和振动数值可以通过内置于存储阵列中的温度传感器和振动传感器分别获取。此外,存储系统也可以直接读取机械硬盘上报的SMART(Self-Monitoring,AnalysisandReportingTechnology,自我监测分析与报告技术)信息中包含的该机械硬盘的温度信息。The temperature value and vibration value of the mechanical hard disk can be obtained respectively through the temperature sensor and the vibration sensor built in the storage array. In addition, the storage system can also directly read the temperature information of the mechanical hard disk included in the SMART (Self-Monitoring, Analysis and Reporting Technology) information reported by the mechanical hard disk.

固态硬盘的剩余可擦写次数可以直接通过固态硬盘上报的SMART信息获取。固态硬盘的剩余容量可以由该固态硬盘直接上报。The remaining erasable times of the SSD can be obtained directly from the SMART information reported by the SSD. The remaining capacity of the solid state disk can be directly reported by the solid state disk.

步骤204,存储系统根据获取到的该控制参数对混合存储系统中的存储操作进行控制。Step 204, the storage system controls the storage operation in the hybrid storage system according to the obtained control parameter.

当控制参数包括系统业务的类型时,存储系统可以检测该系统业务的类型是否为顺序写入;其中,顺序写入为:系统业务的数据写入扇区为连续扇区时该系统业务的类型;若检测出系统业务的类型为顺序写入,则存储系统控制系统业务的业务数据优先向固态硬盘中写入。When the control parameter includes the type of system business, the storage system can detect whether the type of the system business is sequential writing; wherein, the sequential writing is: the type of the system business when the data writing sector of the system business is a continuous sector ; If it is detected that the type of the system service is sequential writing, the storage system controls the service data of the system service to be written into the solid-state hard disk first.

具体的,为了充分发挥固态硬盘读写速度快的优点,存储系统可以将业务类型为顺序写入的数据优先向固态硬盘中写入。Specifically, in order to give full play to the advantages of fast read and write speeds of solid-state hard disks, the storage system may write data whose business type is sequential writing to the solid-state hard disk first.

当控制参数包括机械硬盘的温度数值时,存储系统可以检测该机械硬盘的温度数值是否超过第一温度阈值;若检测出该机械硬盘的温度数值超过第一温度阈值,则存储系统控制该机械硬盘降低读写速度。When the control parameter includes the temperature value of the mechanical hard disk, the storage system can detect whether the temperature value of the mechanical hard disk exceeds the first temperature threshold; if it detects that the temperature value of the mechanical hard disk exceeds the first temperature threshold, the storage system controls the mechanical hard disk Reduce read and write speeds.

优选的,在控制机械硬盘降低读写速度之后,存储系统还可以检测机械硬盘的温度数值是否超过第二温度阈值,该第二温度阈值大于第一温度阈值;若检测出该机械硬盘的温度数值超过第二温度阈值,则存储系统控制该机械硬盘停止运行。Preferably, after controlling the mechanical hard disk to reduce the read and write speed, the storage system can also detect whether the temperature value of the mechanical hard disk exceeds a second temperature threshold, and the second temperature threshold is greater than the first temperature threshold; if the temperature value of the mechanical hard disk is detected If the second temperature threshold is exceeded, the storage system controls the mechanical hard disk to stop running.

更为优选的,在控制机械硬盘停止运行之后,存储系统还可以检测机械硬盘的温度数值是否低于第三温度阈值,该第三温度阈值等于或者小于该第二温度阈值;若检测出该机械硬盘的温度数值低于该第三温度阈值,则存储系统控制该机械硬盘重新开始运行。More preferably, after controlling the mechanical hard disk to stop running, the storage system can also detect whether the temperature value of the mechanical hard disk is lower than a third temperature threshold, and the third temperature threshold is equal to or smaller than the second temperature threshold; When the temperature value of the hard disk is lower than the third temperature threshold, the storage system controls the mechanical hard disk to restart operation.

具体的,不同型号的机械硬盘,其正常使用的温度范围可能不一致。存储系统可以预先根据当前使用的机械硬盘的使用温度范围设定一个第一温度阈值,为了防止机械硬盘因温度过高而发生读写可靠性降低的情况,当检测到机械硬盘当前温度超过该第一温度阈值时,即降低该机械硬盘的读写速度。当检测到机械硬盘的温度超过预设的,比第一温度阈值更高的第二温度阈值时,存储系统可以停止机械硬盘的运行,并将当前系统业务的读写操作转移到固态硬盘中运行。进一步的,当机械硬盘停止运行后,若检测到该机械硬盘的温度又下降到预设的第三温度阈值(该第三温度阈值可以设置为比第二温度阈值小或者和第二温度阈值相等)时,可以重新启动该机械硬盘。Specifically, different types of mechanical hard disks may have different temperature ranges for normal use. The storage system can set a first temperature threshold in advance according to the operating temperature range of the currently used mechanical hard disk. In order to prevent the mechanical hard When the temperature threshold is reached, the read/write speed of the mechanical hard disk will be reduced. When it is detected that the temperature of the mechanical hard disk exceeds the preset second temperature threshold, which is higher than the first temperature threshold, the storage system can stop the operation of the mechanical hard disk, and transfer the read and write operations of the current system business to the solid-state hard disk for operation . Further, after the mechanical hard disk stops running, if it is detected that the temperature of the mechanical hard disk drops to the preset third temperature threshold (the third temperature threshold can be set to be smaller than the second temperature threshold or equal to the second temperature threshold ), you can restart the mechanical hard disk.

当控制参数包括机械硬盘的振动数值时,存储系统可以检测该机械硬盘的振动数值是否超过第一振动阈值;若检测出该机械硬盘的振动数值超过该第一振动阈值,则存储系统控制该机械硬盘降低读写速度。When the control parameters include the vibration value of the mechanical hard disk, the storage system can detect whether the vibration value of the mechanical hard disk exceeds the first vibration threshold; if it detects that the vibration value of the mechanical hard disk exceeds the first vibration threshold, the storage system controls the mechanical The hard disk slows down the read and write speed.

优选的,在控制该机械硬盘降低读写速度之后,存储系统还可以检测该机械硬盘的振动数值是否超过第二振动阈值,该第二振动阈值大于该第一振动阈值;若检测出该机械硬盘的振动数值超过该第二振动阈值,则存储系统控制该机械硬盘停止运行。Preferably, after controlling the mechanical hard disk to reduce the read/write speed, the storage system can also detect whether the vibration value of the mechanical hard disk exceeds a second vibration threshold, and the second vibration threshold is greater than the first vibration threshold; if the mechanical hard disk is detected If the vibration value exceeds the second vibration threshold, the storage system controls the mechanical hard disk to stop running.

更为优选的,在控制机械硬盘停止运行之后,存储系统还可以检测该机械硬盘的振动数值是否低于第三振动阈值,该第三振动阈值等于或者小于第二振动阈值;若检测出该机械硬盘的振动数值低于该第三振动阈值,则存储系统控制该机械硬盘重新开始运行。More preferably, after controlling the mechanical hard disk to stop running, the storage system can also detect whether the vibration value of the mechanical hard disk is lower than a third vibration threshold, and the third vibration threshold is equal to or smaller than the second vibration threshold; When the vibration value of the hard disk is lower than the third vibration threshold, the storage system controls the mechanical hard disk to restart operation.

具体的,存储系统可以预先根据机械硬盘的正常使用的振动数值范围设定一个第一振动阈值,为了防止机械硬盘因剧烈振动而发生读写可靠性降低的情况,当检测到机械硬盘当前振动数值超过该第一振动阈值时,即降低该机械硬盘的读写速度。当检测到机械硬盘的振动数值超过预设的,比该第一振动阈值更高的第二振动阈值时,存储系统可以停止机械硬盘的运行,并将当前系统业务的读写操作转移到固态硬盘中运行。进一步的,当机械硬盘停止运行后,若检测到该机械硬盘的振动数值又下降到预设的第三振动阈值(该第三振动阈值可以设置为比第二振动阈值小或者和第二振动阈值相等)时,可以重新启动机械硬盘。Specifically, the storage system can set a first vibration threshold in advance according to the vibration value range of the mechanical hard disk in normal use. In order to prevent the mechanical hard When the first vibration threshold is exceeded, the read/write speed of the mechanical hard disk is reduced. When it is detected that the vibration value of the mechanical hard disk exceeds the preset second vibration threshold higher than the first vibration threshold, the storage system can stop the operation of the mechanical hard disk and transfer the read and write operations of the current system business to the solid state disk run in. Further, after the mechanical hard disk stops running, if it is detected that the vibration value of the mechanical hard disk drops to the preset third vibration threshold (the third vibration threshold can be set to be smaller than the second vibration threshold or equal to the second vibration threshold equal), you can restart the mechanical hard disk.

当控制参数包括固态硬盘的剩余可擦写次数时,存储系统检测该固态硬盘的剩余可擦写次数是否小于预定擦写阈值;若检测出该固态硬盘的剩余可擦写次数小于该预定擦写阈值,则存储系统控制该固态硬盘停止擦写操作。When the control parameters include the remaining erasable times of the solid-state hard disk, the storage system detects whether the remaining erasable times of the solid-state hard disk is less than a predetermined erasable threshold; if it is detected that the remaining erasable times of the solid-state hard disk is less than the predetermined threshold, the storage system controls the SSD to stop erasing and writing operations.

具体的,假设预定擦写阈值为1000次,当存储系统检测到该固态硬盘的剩余可擦写次数小于1000次时,为了防止固态硬盘使用寿命达到极限而导致该固态硬盘读写可靠性降低的情况,存储系统可以停止该固态硬盘的擦写操作,并且此后也不再对固态硬盘进行擦写操作。Specifically, assuming that the preset erasing threshold is 1000 times, when the storage system detects that the remaining erasable times of the solid-state hard disk is less than 1000 times, in order to prevent the service life of the solid-state hard disk from reaching the limit and reduce the read-write reliability of the solid-state hard disk In this case, the storage system can stop the erasing and writing operation of the solid-state hard disk, and thereafter no longer perform the erasing and writing operation on the solid-state hard disk.

当控制参数包括固态硬盘的剩余容量时,存储系统检测该固态硬盘的剩余容量是否小于预定容量阈值;若检测出该固态硬盘的剩余容量小于该预定容量阈值,则将该固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到该机械硬盘中。When the control parameter includes the remaining capacity of the solid-state hard disk, the storage system detects whether the remaining capacity of the solid-state hard disk is less than the predetermined capacity threshold; The data with the least amount of access and the least number of historical accesses is moved to the mechanical hard disk.

假设预定容量阈值为该固态硬盘总容量的十分之一,当存储系统检测到该固态硬盘中的剩余容量少于其总容量的十分之一时,为了防止固态硬盘被写满而影响系统性能,存储系统可以将该固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到机械硬盘中,以便为后续对固态硬盘的读写操作腾出空间。Assuming that the predetermined capacity threshold is one-tenth of the total capacity of the solid-state drive, when the storage system detects that the remaining capacity of the solid-state drive is less than one-tenth of its total capacity, in order to prevent the solid-state drive from being full and affecting the system Performance, the storage system can move the predetermined amount of data that is not currently accessed and has been accessed the least number of times in the solid-state hard disk to the mechanical hard disk, so as to make room for subsequent read and write operations on the solid-state hard disk.

需要说明的是,在一些实施例中,存储系统获取的控制参数必定包括系统业务的类型,可选的,还可以包括机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。It should be noted that, in some embodiments, the control parameters acquired by the storage system must include the type of system business, and optionally, may also include the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the remaining rewritable At least one of the number of times and the remaining capacity of the solid state disk.

在另一些实施例中,存储系统获取的控制参数必定包括机械硬盘的温度数值,可选的,还可以包括系统业务的类型、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters acquired by the storage system must include the temperature value of the mechanical hard disk, and optionally, the type of system business, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the solid-state hard disk. At least one of the remaining capacities of .

在另一些实施例中,存储系统获取的控制参数必定包括机械硬盘的振动数值,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters obtained by the storage system must include the vibration value of the mechanical hard disk, and optionally, the type of system business, the temperature value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the At least one of the remaining capacities of .

在另一些实施例中,存储系统获取的控制参数必定包括固态硬盘的剩余可擦写次数,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余容量中的至少一种。In other embodiments, the control parameters acquired by the storage system must include the remaining erasable times of the solid-state hard disk. Optionally, it may also include the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the solid-state hard disk. At least one of the remaining capacities of .

在又一些实施例中,存储系统获取的控制参数必定包括固态硬盘的剩余容量,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余可擦写次数中的至少一种。In some other embodiments, the control parameters obtained by the storage system must include the remaining capacity of the solid-state hard disk, and optionally, may also include the type of system services, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the remaining capacity of the solid-state hard disk. at least one of erasing times.

综上可知,该控制参数可以必定包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量这五种参数中的一部分控制参数,可选包括该五种参数中其余部分控制参数。To sum up, it can be seen that the control parameters may necessarily include the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. Part of the control parameters , optionally including other control parameters among the five parameters.

综上所述,本发明实施例提供的存储控制方法,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数;当系统业务的类型为顺序写入时,控制业务数据优先向固态硬盘写入,达到充分发挥固态硬盘读写速度快的优点的目的;当机械硬盘的温度数值高于第一温度阈值时,控制机械硬盘降低运行速度,当机械硬盘的温度数值高于第二温度阈值时,控制机械硬盘停止运行,当机械硬盘温度数值低于第三温度阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘温度过高时,读写稳定性下降的问题,达到提高系统综合性能的目的;当机械硬盘的振动数值高于第一振动阈值时,控制机械硬盘降低运行速度,当机械硬盘的振动数值高于第二振动阈值时,控制机械硬盘停止运行,当机械硬盘振动数值低于第三振动阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘振动过于激烈时,读写稳定性下降的问题,达到提高系统综合性能的目的;当固态硬盘剩余可擦写次数低于预定擦写阈值时,停止对固态硬盘的擦写操作,解决了现有技术中固态硬盘擦写寿命耗尽时读写稳定性降低的问题,达到提高系统综合性能的目的;当固态硬盘剩余容量低于预定容量阈值时,将固态硬盘中当前未被访问,且历史被访问次数最少的数据搬移到机械硬盘中,达到现有技术中固态硬盘容量不足时,固态硬盘读写速度快的优势无法发挥的问题,达到提高系统综合性能的目的。To sum up, the storage control method provided by the embodiment of the present invention obtains the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. At least one control parameter; when the type of system business is sequential writing, the control business data is written to the solid-state hard disk first, so as to fully utilize the advantages of fast read and write speed of the solid-state hard disk; when the temperature value of the mechanical hard disk is higher than the first When the first temperature threshold is reached, the mechanical hard disk is controlled to reduce the operating speed. When the temperature value of the mechanical hard disk is higher than the second temperature threshold, the mechanical hard disk is controlled to stop running. When the temperature value of the mechanical hard disk is lower than the third temperature threshold, the mechanical hard disk is controlled to restart. , which solves the problem of decreased read and write stability in the prior art when the temperature of the mechanical hard disk is too high, and achieves the purpose of improving the overall performance of the system; when the vibration value of the mechanical hard disk is higher than the first vibration threshold, control the mechanical hard disk to reduce the operating speed , when the vibration value of the mechanical hard disk is higher than the second vibration threshold, the mechanical hard disk is controlled to stop running, and when the vibration value of the mechanical hard disk is lower than the third vibration threshold, the mechanical hard disk is controlled to restart, which solves the problem of excessive vibration of the mechanical hard disk in the prior art When it is intense, the problem of reading and writing stability declines to achieve the purpose of improving the overall performance of the system; when the remaining erasable times of the solid-state hard disk is lower than the predetermined erasing threshold, the erasing and writing operation of the solid-state hard disk is stopped, which solves the problem in the prior art. When the erasing and writing life of the solid-state hard disk is exhausted, the stability of reading and writing is reduced to achieve the purpose of improving the overall performance of the system; The least amount of data is moved to the mechanical hard disk, so that when the capacity of the solid-state hard disk in the prior art is insufficient, the advantages of fast reading and writing speed of the solid-state hard disk cannot be brought into play, and the purpose of improving the overall performance of the system is achieved.

请参考图3,其示出了本发明一个实施例提供的存储控制装置的装置结构图。该存储控制装置应用于包含有机械硬盘和固态硬盘的混合存储系统中,该存储控制装置可以包括:Please refer to FIG. 3 , which shows a device structure diagram of a storage control device according to an embodiment of the present invention. The storage control device is applied to a hybrid storage system including a mechanical hard disk and a solid-state hard disk, and the storage control device may include:

控制参数获取模块301,用于获取控制参数,该控制参数包括:系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;The control parameter acquisition module 301 is used to acquire control parameters, the control parameters include: the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. at least one;

控制模块302,用于根据控制参数获取模块301获取到的控制参数对该混合存储系统中的存储操作进行控制。The control module 302 is configured to control storage operations in the hybrid storage system according to the control parameters acquired by the control parameter acquisition module 301 .

综上所述,本发明实施例提供的存储控制装置,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数,并根据获取到的控制参数对混合存储系统中的存储操作进行控制,解决了现有技术中只基于固态硬盘所具有的读写速度快的优点进行控制的问题,达到充分发挥混合存储系统中采用不同存储介质的两类硬盘各自长处,获得更好的系统性能的目的。In summary, the storage control device provided by the embodiment of the present invention obtains the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. at least one control parameter, and control the storage operation in the hybrid storage system according to the obtained control parameter, which solves the problem in the prior art that the control is only based on the advantages of fast read and write speeds of the solid-state hard disk, and achieves sufficient The purpose of giving full play to the respective strengths of the two types of hard disks using different storage media in the hybrid storage system is to obtain better system performance.

为了对上述图3所示的存储控制装置做进一步描述,请参考图4,其示出了本发明另一实施例提供的存储控制装置的装置结构图。该存储控制装置应用于包含有机械硬盘和固态硬盘的混合存储系统中,该存储控制装置可以包括:In order to further describe the storage control device shown in FIG. 3 , please refer to FIG. 4 , which shows a device structure diagram of a storage control device according to another embodiment of the present invention. The storage control device is applied to a hybrid storage system including a mechanical hard disk and a solid-state hard disk, and the storage control device may include:

控制参数获取模块401,用于获取控制参数,该控制参数包括:系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;The control parameter acquisition module 401 is used to acquire control parameters, the control parameters include: the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. at least one;

控制模块402,用于根据控制参数获取模块401获取到的控制参数对该混合存储系统中的存储操作进行控制。The control module 402 is configured to control storage operations in the hybrid storage system according to the control parameters acquired by the control parameter acquisition module 401 .

其中,控制模块402包括:Wherein, the control module 402 includes:

业务类型检测单元402a,用于当控制参数获取模块401获取到的控制参数包括系统业务的类型时,检测该系统业务的类型是否为顺序写入;其中,顺序写入为:该系统业务的数据写入扇区为连续扇区时,该系统业务的类型;The business type detection unit 402a is used to detect whether the type of the system business is sequential writing when the control parameter acquired by the control parameter acquisition module 401 includes the type of the system business; wherein, the sequential writing is: the data of the system business When the writing sector is a continuous sector, the type of the system business;

第一控制单元402b,用于若业务类型检测单元402a检测出该系统业务的类型为顺序写入,则控制该系统业务的业务数据优先向固态硬盘中写入。The first control unit 402b is configured to, if the service type detection unit 402a detects that the type of the system service is sequential writing, then control the service data of the system service to be written into the solid-state hard disk first.

另外,控制模块402包括:In addition, the control module 402 includes:

第一温度检测单元402c,用于当控制参数获取模块401获取到的控制参数包括机械硬盘的温度数值时,检测该机械硬盘的温度数值是否超过第一温度阈值;The first temperature detection unit 402c is configured to detect whether the temperature value of the mechanical hard disk exceeds the first temperature threshold when the control parameter acquired by the control parameter acquisition module 401 includes the temperature value of the mechanical hard disk;

第二控制单元402d,用于若第一温度检测单元402c检测出机械硬盘的温度数值超过该第一温度阈值,则控制该机械硬盘降低读写速度。The second control unit 402d is configured to control the mechanical hard disk to reduce the read/write speed if the first temperature detection unit 402c detects that the temperature value of the mechanical hard disk exceeds the first temperature threshold.

优选的,控制模块402还包括:Preferably, the control module 402 also includes:

第二温度检测单元402e,用于在第二控制单元402d控制该机械硬盘降低读写速度之后,检测该机械硬盘的温度数值是否超过第二温度阈值,该第二温度阈值大于该第一温度阈值;The second temperature detection unit 402e is configured to detect whether the temperature value of the mechanical hard disk exceeds a second temperature threshold after the second control unit 402d controls the mechanical hard disk to reduce the read/write speed, and the second temperature threshold is greater than the first temperature threshold ;

第三控制单元402f,用于若第二温度检测单元402e检测出该机械硬盘的温度数值超过该第二温度阈值,则控制该机械硬盘停止运行。The third control unit 402f is configured to control the mechanical hard disk to stop running if the second temperature detection unit 402e detects that the temperature value of the mechanical hard disk exceeds the second temperature threshold.

更为优选的,控制模块402还包括:More preferably, the control module 402 also includes:

第三温度检测单元402g,用于在第三控制单元402f控制该机械硬盘停止运行之后,检测该机械硬盘的温度数值是否低于第三温度阈值,该第三温度阈值等于或者小于该第二温度阈值;The third temperature detection unit 402g is configured to detect whether the temperature value of the mechanical hard disk is lower than a third temperature threshold after the third control unit 402f controls the mechanical hard disk to stop running, and the third temperature threshold is equal to or lower than the second temperature threshold;

第四控制单元402h,用于若第三温度检测单元402g检测出该机械硬盘的温度数值低于该第三温度阈值,则控制该机械硬盘重新开始运行。The fourth control unit 402h is configured to control the mechanical hard disk to restart operation if the third temperature detection unit 402g detects that the temperature value of the mechanical hard disk is lower than the third temperature threshold.

另外,控制模块402包括:In addition, the control module 402 includes:

第一振动检测单元402i,用于当控制参数获取模块401获取到的控制参数包括机械硬盘的振动数值时,检测该机械硬盘的振动数值是否超过第一振动阈值;The first vibration detection unit 402i is configured to detect whether the vibration value of the mechanical hard disk exceeds the first vibration threshold when the control parameter acquired by the control parameter acquisition module 401 includes the vibration value of the mechanical hard disk;

第五控制单元402j,用于若第一振动检测单元402i检测出该机械硬盘的振动数值超过该第一振动阈值,则控制该机械硬盘降低读写速度。The fifth control unit 402j is configured to control the mechanical hard disk to reduce the read/write speed if the first vibration detection unit 402i detects that the vibration value of the mechanical hard disk exceeds the first vibration threshold.

优选的,控制模块402还包括:Preferably, the control module 402 also includes:

第二振动检测单元402k,用于在第五控制单元402j控制机械硬盘降低读写速度之后,检测该机械硬盘的振动数值是否超过第二振动阈值,该第二振动阈值大于该第一振动阈值;The second vibration detection unit 402k is configured to detect whether the vibration value of the mechanical hard disk exceeds a second vibration threshold after the fifth control unit 402j controls the mechanical hard disk to reduce the read/write speed, and the second vibration threshold is greater than the first vibration threshold;

第六控制单元402m,用于若第二振动检测单元402k检测出该机械硬盘的振动数值超过该第二振动阈值,则控制该机械硬盘停止运行。The sixth control unit 402m is configured to control the mechanical hard disk to stop running if the second vibration detection unit 402k detects that the vibration value of the mechanical hard disk exceeds the second vibration threshold.

更为优选的,控制模块402还包括:More preferably, the control module 402 also includes:

第三振动检测单元402n,用于在第六控制单元402m控制该机械硬盘停止运行之后,检测该机械硬盘的振动数值是否低于第三振动阈值,该第三振动阈值等于或者小于该第二振动阈值;The third vibration detection unit 402n is configured to detect whether the vibration value of the mechanical hard disk is lower than a third vibration threshold after the sixth control unit 402m controls the mechanical hard disk to stop running, and the third vibration threshold is equal to or smaller than the second vibration threshold;

第七控制单元402p,用于若第三振动检测单元402n检测出该机械硬盘的振动数值低于该第三振动阈值,则控制该机械硬盘重新开始运行。The seventh control unit 402p is configured to control the mechanical hard disk to restart operation if the third vibration detection unit 402n detects that the vibration value of the mechanical hard disk is lower than the third vibration threshold.

另外,控制模块402包括:In addition, the control module 402 includes:

擦写次数检测单元402q,用于当控制参数获取模块401获取到的控制参数包括固态硬盘的剩余可擦写次数时,检测该固态硬盘的剩余可擦写次数是否小于预定擦写次数阈值;The erasable times detection unit 402q is used to detect whether the remaining erasable times of the solid-state hard disk is less than the predetermined erasable times threshold when the control parameters acquired by the control parameter acquisition module 401 include the remaining erasable times of the solid-state hard disk;

第八控制单元402r,用于若擦写次数检测单元402q检测出该固态硬盘的剩余可擦写次数小于预定擦写次数阈值,则控制该固态硬盘停止擦写操作。The eighth control unit 402r is configured to control the solid state hard disk to stop the erasing operation if the erasing times detecting unit 402q detects that the remaining erasable times of the solid state hard disk is less than a preset erasing times threshold.

另外,控制模块402包括:In addition, the control module 402 includes:

剩余容量检测单元402s,用于当控制参数获取模块401获取到的控制参数包括固态硬盘的剩余容量时,检测该固态硬盘的剩余容量是否小于预定容量阈值;The remaining capacity detection unit 402s is used to detect whether the remaining capacity of the solid-state hard disk is less than a predetermined capacity threshold when the control parameter acquired by the control parameter acquisition module 401 includes the remaining capacity of the solid-state hard disk;

第九控制单元402t,用于若剩余容量检测单元402s检测出该固态硬盘的剩余容量小于预定容量阈值,则将该固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到该机械硬盘中。The ninth control unit 402t is configured to, if the remaining capacity detecting unit 402s detects that the remaining capacity of the solid-state hard disk is less than a predetermined capacity threshold, then select the data in the solid-state hard disk that is not currently accessed and has the least number of times of historical access and a predetermined amount of data Move it to the mechanical hard disk.

需要说明的是,在一些实施例中,控制参数获取模块获取的控制参数必定包括系统业务的类型,可选的,还可以包括机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。It should be noted that, in some embodiments, the control parameters obtained by the control parameter acquisition module must include the type of system service, and optionally, may also include the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining capacity of the solid state disk At least one of the erasing times and the remaining capacity of the solid-state hard disk.

在另一些实施例中,控制参数获取模块获取的控制参数必定包括机械硬盘的温度数值,可选的,还可以包括系统业务的类型、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters acquired by the control parameter acquisition module must include the temperature value of the mechanical hard disk, and optionally, may also include the type of system service, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and At least one of the remaining capacity of the solid state disk.

在另一些实施例中,控制参数获取模块获取的控制参数必定包括机械硬盘的振动数值,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters acquired by the control parameter acquisition module must include the vibration value of the mechanical hard disk, and optionally, may also include the type of system service, the temperature value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and At least one of the remaining capacity of the solid state disk.

在另一些实施例中,控制参数获取模块获取的控制参数必定包括固态硬盘的剩余可擦写次数,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters acquired by the control parameter acquisition module must include the remaining erasable times of the solid-state hard disk, and optionally, may also include the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and At least one of the remaining capacity of the solid state disk.

在又一些实施例中,控制参数获取模块获取的控制参数必定包括固态硬盘的剩余容量,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余可擦写次数中的至少一种。In some other embodiments, the control parameters obtained by the control parameter acquisition module must include the remaining capacity of the solid-state hard disk, and optionally, may also include the type of system services, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the solid-state hard disk. At least one of the remaining erasable times.

综上可知,该控制参数可以必定包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量这五种参数中的一部分控制参数,可选包括该五种参数中其余部分控制参数。To sum up, it can be seen that the control parameters may necessarily include the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. Part of the control parameters , optionally including other control parameters among the five parameters.

综上所述,本发明实施例提供的存储控制装置,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数;当系统业务的类型为顺序写入时,控制业务数据优先向固态硬盘写入,达到充分发挥固态硬盘读写速度快的优点的目的;当机械硬盘的温度数值高于第一温度阈值时,控制机械硬盘降低运行速度,当机械硬盘的温度数值高于第二温度阈值时,控制机械硬盘停止运行,当机械硬盘温度数值低于第三温度阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘温度过高时,读写稳定性下降的问题,达到提高系统综合性能的目的;当机械硬盘的振动数值高于第一振动阈值时,控制机械硬盘降低运行速度,当机械硬盘的振动数值高于第二振动阈值时,控制机械硬盘停止运行,当机械硬盘振动数值低于第三振动阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘振动过于激烈时,读写稳定性下降的问题,达到提高系统综合性能的目的;当固态硬盘剩余可擦写次数低于预定擦写阈值时,停止对固态硬盘的擦写操作,解决了现有技术中固态硬盘擦写寿命耗尽时稳定性降低的问题,达到提高系统综合性能的目的;当固态硬盘剩余容量低于预定容量阈值时,将固态硬盘中当前未被访问,且历史被访问次数少的数据搬移到机械硬盘中,达到现有技术中固态硬盘容量不足时,固态硬盘读写速度快的优势无法发挥的问题,达到提高系统综合性能的目的。In summary, the storage control device provided by the embodiment of the present invention obtains the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. At least one control parameter; when the type of system business is sequential writing, the control business data is written to the solid-state hard disk first, so as to fully utilize the advantages of fast read and write speed of the solid-state hard disk; when the temperature value of the mechanical hard disk is higher than the first When the first temperature threshold is reached, the mechanical hard disk is controlled to reduce the operating speed. When the temperature value of the mechanical hard disk is higher than the second temperature threshold, the mechanical hard disk is controlled to stop running. When the temperature value of the mechanical hard disk is lower than the third temperature threshold, the mechanical hard disk is controlled to restart. , which solves the problem of decreased read and write stability in the prior art when the temperature of the mechanical hard disk is too high, and achieves the purpose of improving the overall performance of the system; when the vibration value of the mechanical hard disk is higher than the first vibration threshold, control the mechanical hard disk to reduce the operating speed , when the vibration value of the mechanical hard disk is higher than the second vibration threshold, the mechanical hard disk is controlled to stop running, and when the vibration value of the mechanical hard disk is lower than the third vibration threshold, the mechanical hard disk is controlled to restart, which solves the problem of excessive vibration of the mechanical hard disk in the prior art When it is intense, the problem of reading and writing stability declines to achieve the purpose of improving the overall performance of the system; when the remaining erasable times of the solid-state hard disk is lower than the predetermined erasing threshold, the erasing and writing operation of the solid-state hard disk is stopped, which solves the problem in the prior art. When the erasing and writing life of the solid-state hard disk is exhausted, the stability is reduced to achieve the purpose of improving the overall performance of the system; when the remaining capacity of the solid-state hard disk is lower than the predetermined capacity threshold, the solid-state hard disk that is not currently accessed and has a small number of historical access times The data is moved to the mechanical hard disk to solve the problem that when the capacity of the solid-state hard disk is insufficient in the prior art, the advantages of the fast reading and writing speed of the solid-state hard disk cannot be brought into play, and the purpose of improving the overall performance of the system is achieved.

请参考图5,其示出了本发明实施例提供的存储控制装置的装置结构图。以将该存储控制装置应用于包含有机械硬盘和固态硬盘的混合存储系统中为例,该存储控制装置可以包括:IO(Input/Output,输入/输出)监控器501、温度传感器502、振动传感器503和处理器504;Please refer to FIG. 5 , which shows a device structure diagram of a storage control device provided by an embodiment of the present invention. Taking the application of the storage control device in a hybrid storage system including a mechanical hard disk and a solid state disk as an example, the storage control device may include: an IO (Input/Output, input/output) monitor 501, a temperature sensor 502, a vibration sensor 503 and processor 504;

IO监控器501,用于监控并获取系统业务的类型;IO monitor 501, used to monitor and obtain the type of system business;

温度传感器502,用于获取机械硬盘的温度数值;The temperature sensor 502 is used to obtain the temperature value of the mechanical hard disk;

振动传感器503,用于获取机械硬盘的振动数值;The vibration sensor 503 is used to obtain the vibration value of the mechanical hard disk;

处理器504与IO监控器501、温度传感器502、振动传感器503、机械硬盘505和固态硬盘506分别相连;Processor 504 is connected with IO monitor 501, temperature sensor 502, vibration sensor 503, mechanical hard disk 505 and solid state hard disk 506 respectively;

处理器504,用于获取控制参数,该控制参数包括:IO监控器获取的系统业务的类型、温度传感器获取的机械硬盘的温度数值、振动传感器获取的机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;The processor 504 is configured to obtain control parameters, the control parameters include: the type of system business obtained by the IO monitor, the temperature value of the mechanical hard disk obtained by the temperature sensor, the vibration value of the mechanical hard disk obtained by the vibration sensor, and the remaining capacity of the solid state disk. At least one of the erasing times and the remaining capacity of the solid-state hard disk;

处理器504,用于根据获取到的控制参数对该混合存储系统中的存储操作进行控制。The processor 504 is configured to control storage operations in the hybrid storage system according to the acquired control parameters.

综上所述,本发明实施例提供的存储控制装置,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数,并根据获取到的控制参数对混合存储系统中的存储操作进行控制,解决了现有技术中只基于固态硬盘所具有的读写速度快的优点进行控制的问题,达到充分发挥混合存储系统中采用不同存储介质的两类硬盘各自长处,获得更好的系统性能的目的。In summary, the storage control device provided by the embodiment of the present invention obtains the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. at least one control parameter, and control the storage operation in the hybrid storage system according to the obtained control parameter, which solves the problem in the prior art that the control is only based on the advantages of fast read and write speeds of the solid-state hard disk, and achieves sufficient The purpose of giving full play to the respective strengths of the two types of hard disks using different storage media in the hybrid storage system is to obtain better system performance.

为了对上述图5对应的存储控制装置做进一步描述,请参考图6,其示出了本发明实施例提供的存储控制装置的装置结构图。以将该存储控制装置应用于包含有机械硬盘和固态硬盘的混合存储系统中为例,该存储控制装置可以包括:IO监控器601、温度传感器602、振动传感器603和处理器604;In order to further describe the above storage control device corresponding to FIG. 5 , please refer to FIG. 6 , which shows a device structure diagram of a storage control device according to an embodiment of the present invention. Taking the application of the storage control device in a hybrid storage system including a mechanical hard disk and a solid state disk as an example, the storage control device may include: an IO monitor 601, a temperature sensor 602, a vibration sensor 603 and a processor 604;

IO监控器601,用于监控并获取系统业务的类型;IO monitor 601, used to monitor and obtain the type of system business;

温度传感器602,用于获取机械硬盘的温度数值;The temperature sensor 602 is used to obtain the temperature value of the mechanical hard disk;

振动传感器603,用于获取机械硬盘的振动数值;The vibration sensor 603 is used to obtain the vibration value of the mechanical hard disk;

处理器604与IO监控器601、温度传感器602、振动传感器603、机械硬盘605和固态硬盘606分别相连;The processor 604 is connected to the IO monitor 601, the temperature sensor 602, the vibration sensor 603, the mechanical hard disk 605 and the solid state hard disk 606 respectively;

处理器604,用于获取控制参数,该控制参数包括:IO监控器获取的系统业务的类型、温度传感器获取的机械硬盘的温度数值、振动传感器获取的机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种;The processor 604 is configured to obtain control parameters, the control parameters include: the type of system service obtained by the IO monitor, the temperature value of the mechanical hard disk obtained by the temperature sensor, the vibration value of the mechanical hard disk obtained by the vibration sensor, and the remaining capacity of the solid state disk. At least one of the erasing times and the remaining capacity of the solid-state hard disk;

具体的,处理器604可以从IO监控器601获取系统业务的类型,从温度传感器602获取机械硬盘的温度数值,从振动传感器603获取机械硬盘的振动数值,从固态硬盘606获取固态硬盘的剩余可擦写次数和固态硬盘的剩余容量。此外,处理器604还可以从机械硬盘605的SMART信息中获取机械硬盘的温度数值,从固态硬盘606的SMART信息中获取固态硬盘的剩余可擦写次数。Specifically, the processor 604 can obtain the type of system business from the IO monitor 601, obtain the temperature value of the mechanical hard disk from the temperature sensor 602, obtain the vibration value of the mechanical hard disk from the vibration sensor 603, and obtain the remaining capacity of the solid state disk from the solid state disk 606. Erase times and the remaining capacity of the SSD. In addition, the processor 604 can also obtain the temperature value of the mechanical hard disk from the SMART information of the mechanical hard disk 605 , and obtain the remaining rewritable times of the solid-state hard disk from the SMART information of the solid-state hard disk 606 .

处理器604,用于根据获取到的控制参数对该混合存储系统中的存储操作进行控制。The processor 604 is configured to control storage operations in the hybrid storage system according to the acquired control parameters.

其中,处理器604,用于当获取的该控制参数包括系统业务的类型时,检测该系统业务的类型是否为顺序写入;其中,该顺序写入为:系统业务的数据写入扇区为连续扇区时,该系统业务的类型;若检测出该系统业务的类型为顺序写入,则处理器604控制该系统业务的业务数据优先向固态硬盘中写入。Wherein, the processor 604 is configured to detect whether the type of the system service is sequential writing when the obtained control parameter includes the type of the system service; wherein, the sequential writing is: the data write sector of the system service is For continuous sectors, the type of the system service; if it is detected that the type of the system service is sequential writing, the processor 604 controls the service data of the system service to be preferentially written into the solid-state hard disk.

另外,处理器604,用于当获取的该控制参数包括机械硬盘的温度数值时,检测该机械硬盘的温度数值是否超过第一温度阈值。In addition, the processor 604 is configured to detect whether the temperature value of the mechanical hard disk exceeds a first temperature threshold when the acquired control parameter includes the temperature value of the mechanical hard disk.

处理器604,用于若检测出该机械硬盘的温度数值超过第一温度阈值,则控制该机械硬盘降低读写速度。The processor 604 is configured to control the mechanical hard disk to reduce the read/write speed if it is detected that the temperature value of the mechanical hard disk exceeds a first temperature threshold.

优选的,处理器604,还用于在控制该机械硬盘降低读写速度之后,检测该机械硬盘的温度数值是否超过第二温度阈值,该第二温度阈值大于该第一温度阈值。Preferably, the processor 604 is further configured to detect whether the temperature value of the mechanical hard disk exceeds a second temperature threshold after controlling the mechanical hard disk to reduce the read/write speed, and the second temperature threshold is greater than the first temperature threshold.

处理器604,用于若检测出该机械硬盘的温度数值超过第二温度阈值,则控制机械硬盘停止运行。The processor 604 is configured to control the mechanical hard disk to stop running if it is detected that the temperature value of the mechanical hard disk exceeds a second temperature threshold.

更为优选的,处理器604,还用于在控制该机械硬盘停止运行之后,检测该机械硬盘的温度数值是否低于第三温度阈值,该第三温度阈值等于或者小于该第二温度阈值。More preferably, the processor 604 is further configured to detect whether the temperature value of the mechanical hard disk is lower than a third temperature threshold after controlling the mechanical hard disk to stop running, and the third temperature threshold is equal to or smaller than the second temperature threshold.

处理器604,用于若检测出该机械硬盘的温度数值低于该第三温度阈值,则控制该机械硬盘重新开始运行。The processor 604 is configured to control the mechanical hard disk to restart operation if it is detected that the temperature value of the mechanical hard disk is lower than the third temperature threshold.

另外,处理器604,用于当获取的该控制参数包括机械硬盘的振动数值时,检测该机械硬盘的振动数值是否超过第一振动阈值。In addition, the processor 604 is configured to detect whether the vibration value of the mechanical hard disk exceeds a first vibration threshold when the acquired control parameter includes the vibration value of the mechanical hard disk.

处理器604,用于若检测出该机械硬盘的振动数值超过该第一振动阈值,则控制该机械硬盘降低读写速度。The processor 604 is configured to control the mechanical hard disk to reduce the read/write speed if it is detected that the vibration value of the mechanical hard disk exceeds the first vibration threshold.

优选的,处理器604,还用于在控制该机械硬盘降低读写速度之后,检测该机械硬盘的振动数值是否超过第二振动阈值,该第二振动阈值大于该第一振动阈值。Preferably, the processor 604 is further configured to detect whether the vibration value of the mechanical hard disk exceeds a second vibration threshold after controlling the mechanical hard disk to reduce the read/write speed, and the second vibration threshold is greater than the first vibration threshold.

处理器604,用于若检测出该机械硬盘的振动数值超过该第二振动阈值,则控制机械硬盘停止运行。The processor 604 is configured to control the mechanical hard disk to stop running if it is detected that the vibration value of the mechanical hard disk exceeds the second vibration threshold.

更为优选的,处理器604,还用于在控制该机械硬盘停止运行之后,检测该机械硬盘的振动数值是否低于第三振动阈值,该第三振动阈值等于或者小于该第二振动阈值,More preferably, the processor 604 is further configured to detect whether the vibration value of the mechanical hard disk is lower than a third vibration threshold after controlling the mechanical hard disk to stop running, and the third vibration threshold is equal to or smaller than the second vibration threshold,

处理器604,用于若检测出该机械硬盘的振动数值低于该第三振动阈值,则控制该机械硬盘重新开始运行。The processor 604 is configured to control the mechanical hard disk to restart operation if it is detected that the vibration value of the mechanical hard disk is lower than the third vibration threshold.

另外,处理器604,用于当获取的该控制参数包括固态硬盘的剩余可擦写次数时,检测该固态硬盘的剩余可擦写次数是否小于预定擦写阈值。In addition, the processor 604 is configured to detect whether the remaining erasable times of the solid-state hard disk is less than a predetermined erasable threshold when the acquired control parameters include the remaining erasable times of the solid-state hard disk.

处理器604,用于若检测出该固态硬盘的剩余可擦写次数小于该预定擦写阈值,则控制该固态硬盘停止擦写操作。The processor 604 is configured to control the solid state hard disk to stop erasing and writing operations if it is detected that the remaining erasable times of the solid state hard disk are less than the preset erasing and writing threshold.

另外,处理器604,用于当获取的该控制参数包括固态硬盘的剩余容量时,检测该固态硬盘的剩余容量是否小于预定容量阈值。In addition, the processor 604 is configured to detect whether the remaining capacity of the solid state disk is less than a predetermined capacity threshold when the acquired control parameter includes the remaining capacity of the solid state disk.

若检测出该固态硬盘的剩余容量小于该预定容量阈值,则将该固态硬盘中当前未被访问且历史被访问次数最少的、预定数据量的数据搬移到机械硬盘中。If it is detected that the remaining capacity of the solid-state hard disk is less than the predetermined capacity threshold, the data in the solid-state hard disk that is not currently accessed and has the least number of historical accesses and a predetermined amount of data is moved to the mechanical hard disk.

需要说明的是,在一些实施例中,处理器获取的控制参数必定包括系统业务的类型,可选的,还可以包括机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。It should be noted that, in some embodiments, the control parameters acquired by the processor must include the type of system business, and optionally, may also include the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the remaining rewritable value of the solid state disk. At least one of the number of times and the remaining capacity of the solid state disk.

在另一些实施例中,处理器获取的控制参数必定包括机械硬盘的温度数值,可选的,还可以包括系统业务的类型、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters obtained by the processor must include the temperature value of the mechanical hard disk, and optionally, may also include the type of system service, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the solid-state hard disk. At least one of the remaining capacities of .

在另一些实施例中,处理器获取的控制参数必定包括机械硬盘的振动数值,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters obtained by the processor must include the vibration value of the mechanical hard disk, and optionally, may also include the type of system service, the temperature value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the solid-state hard disk. At least one of the remaining capacities of .

在另一些实施例中,处理器获取的控制参数必定包括固态硬盘的剩余可擦写次数,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余容量中的至少一种。In some other embodiments, the control parameters acquired by the processor must include the remaining erasable times of the solid-state hard disk, and optionally, may also include the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the solid-state hard disk. At least one of the remaining capacities of .

在又一些实施例中,处理器获取的控制参数必定包括固态硬盘的剩余容量,可选的,还可以包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值以及固态硬盘的剩余可擦写次数中的至少一种。In some other embodiments, the control parameters obtained by the processor must include the remaining capacity of the solid-state hard disk, and optionally, may also include the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, and the remaining capacity of the solid-state hard disk. at least one of erasing times.

综上可知,该控制参数可以必定包括系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量这五种参数中的一部分控制参数,可选包括该五种参数中其余部分控制参数。To sum up, it can be seen that the control parameters may necessarily include the type of system business, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining rewritable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. Part of the control parameters , optionally including other control parameters among the five parameters.

综上所述,本发明实施例提供的存储控制装置,通过获取系统业务的类型、机械硬盘的温度数值、机械硬盘的振动数值、固态硬盘的剩余可擦写次数以及固态硬盘的剩余容量中的至少一种控制参数;当系统业务的类型为顺序写入时,控制业务数据优先向固态硬盘写入,达到充分发挥固态硬盘读写速度快的优点的目的;当机械硬盘的温度数值高于第一温度阈值时,控制机械硬盘降低运行速度,当机械硬盘的温度数值高于第二温度阈值时,控制机械硬盘停止运行,当机械硬盘温度数值低于第三温度阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘温度过高时,读写稳定性下降的问题,达到提高系统综合性能的目的;当机械硬盘的振动数值高于第一振动阈值时,控制机械硬盘降低运行速度,当机械硬盘的振动数值高于第二振动阈值时,控制机械硬盘停止运行,当机械硬盘振动数值低于第三振动阈值时,控制机械硬盘重新运行,解决了现有技术中机械硬盘振动过于激烈时,读写稳定性下降的问题,达到提高系统综合性能的目的;当固态硬盘剩余可擦写次数低于预定擦写阈值时,停止对固态硬盘的擦写操作,解决了现有技术中固态硬盘擦写寿命耗尽时稳定性降低的问题,达到提高系统综合性能的目的;当固态硬盘剩余容量低于预定容量阈值时,将固态硬盘中当前未被访问,且历史被访问次数少的数据搬移到机械硬盘中,达到现有技术中固态硬盘容量不足时,固态硬盘读写速度快的优势无法发挥的问题,达到提高系统综合性能的目的。In summary, the storage control device provided by the embodiment of the present invention obtains the type of system service, the temperature value of the mechanical hard disk, the vibration value of the mechanical hard disk, the remaining erasable times of the solid-state hard disk, and the remaining capacity of the solid-state hard disk. At least one control parameter; when the type of system business is sequential writing, the control business data is written to the solid-state hard disk first, so as to fully utilize the advantages of fast read and write speed of the solid-state hard disk; when the temperature value of the mechanical hard disk is higher than the first When the first temperature threshold is reached, the mechanical hard disk is controlled to reduce the operating speed. When the temperature value of the mechanical hard disk is higher than the second temperature threshold, the mechanical hard disk is controlled to stop running. When the temperature value of the mechanical hard disk is lower than the third temperature threshold, the mechanical hard disk is controlled to restart. , which solves the problem of decreased read and write stability in the prior art when the temperature of the mechanical hard disk is too high, and achieves the purpose of improving the overall performance of the system; when the vibration value of the mechanical hard disk is higher than the first vibration threshold, control the mechanical hard disk to reduce the operating speed , when the vibration value of the mechanical hard disk is higher than the second vibration threshold, the mechanical hard disk is controlled to stop running, and when the vibration value of the mechanical hard disk is lower than the third vibration threshold, the mechanical hard disk is controlled to restart, which solves the problem of excessive vibration of the mechanical hard disk in the prior art When it is intense, the problem of reading and writing stability declines to achieve the purpose of improving the overall performance of the system; when the remaining erasable times of the solid-state hard disk is lower than the predetermined erasing threshold, the erasing and writing operation of the solid-state hard disk is stopped, which solves the problem in the prior art. When the erasing and writing life of the solid-state hard disk is exhausted, the stability is reduced to achieve the purpose of improving the overall performance of the system; when the remaining capacity of the solid-state hard disk is lower than the predetermined capacity threshold, the solid-state hard disk that is not currently accessed and has a small number of historical access times The data is moved to the mechanical hard disk to solve the problem that when the capacity of the solid-state hard disk is insufficient in the prior art, the advantages of the fast reading and writing speed of the solid-state hard disk cannot be brought into play, and the purpose of improving the overall performance of the system is achieved.

需要说明的是:上述实施例提供的存储控制装置在对系统存储操作进行控制时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的存储控制装置与存储控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the storage control device provided in the above embodiment controls the storage operation of the system, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different function Module completion means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the storage control device and the storage control method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (16)

1. a storage controlling method, for including in the mixing storage system of mechanical hard disk and solid state hard disc, is characterized in that, described method comprises:
Obtain controling parameters, described controling parameters comprises: at least one in the Temperature numerical of mechanical hard disk and the vibrating numerical of mechanical hard disk, and the vibrating numerical of described mechanical hard disk is obtained by vibration transducer;
According to the described controling parameters got, the storage operation in described mixing storage system is controlled;
When described controling parameters comprises the Temperature numerical of described mechanical hard disk, the described controling parameters that described basis gets controls the storage operation in described mixing storage system, comprising:
Whether detect the Temperature numerical of described mechanical hard disk more than the first temperature threshold;
If detect, the Temperature numerical of described mechanical hard disk exceedes described first temperature threshold, then control described mechanical hard disk and reduce read or write speed;
When described controling parameters comprises the vibrating numerical of described mechanical hard disk, the described controling parameters that described basis gets controls the storage operation in described mixing storage system, comprising:
Whether detect the vibrating numerical of described mechanical hard disk more than the first vibration threshold;
If detect, the vibrating numerical of described mechanical hard disk exceedes described first vibration threshold, then control described mechanical hard disk and reduce read or write speed.
2. method according to claim 1, it is characterized in that, described controling parameters also comprises the type of system business, when described controling parameters comprises the type of described system business, the described controling parameters that described basis gets controls the storage operation in described mixing storage system, comprising:
Whether detect the type of described system business for being sequentially written in; Wherein, the type of described system business when the data write sector be sequentially written in described in as: described system business is contiguous sector;
If detect, the type of described system business is for being sequentially written in, then the business datum controlling described system business preferentially writes in described solid state hard disc.
3. method according to claim 1, is characterized in that, the described mechanical hard disk of described control also comprises after reducing read or write speed:
Whether detect the Temperature numerical of described mechanical hard disk more than the second temperature threshold, described second temperature threshold is greater than described first temperature threshold;
If detect, the Temperature numerical of described mechanical hard disk exceedes described second temperature threshold, then control described mechanical hard disk out of service.
4. method according to claim 3, is characterized in that, after the described mechanical hard disk of described control is out of service, also comprises:
Whether detect the Temperature numerical of described mechanical hard disk lower than the 3rd temperature threshold, described 3rd temperature threshold is equal to or less than described second temperature threshold;
If detect, the Temperature numerical of described mechanical hard disk is lower than described 3rd temperature threshold, then control described mechanical hard disk and restart to run.
5. method according to claim 1, is characterized in that, the described mechanical hard disk of described control also comprises after reducing read or write speed:
Whether detect the vibrating numerical of described mechanical hard disk more than the second vibration threshold, described second vibration threshold is greater than described first vibration threshold;
If detect, the vibrating numerical of described mechanical hard disk exceedes described second vibration threshold, then control described mechanical hard disk out of service.
6. method according to claim 5, is characterized in that, after the described mechanical hard disk of described control is out of service, also comprises:
Whether detect the vibrating numerical of described mechanical hard disk lower than the 3rd vibration threshold, described 3rd vibration threshold is equal to or less than described second vibration threshold;
If detect, the vibrating numerical of described mechanical hard disk is lower than described 3rd vibration threshold, then control described mechanical hard disk and restart to run.
7. method according to claim 1, it is characterized in that, described controling parameters also comprises the erasable number of times of residue of solid state hard disc, when described controling parameters comprises the erasable number of times of the residue of described solid state hard disc, the described controling parameters that described basis gets controls the storage operation in described mixing storage system, comprising:
Whether the erasable number of times of residue detecting described solid state hard disc is less than predetermined erasable threshold value;
If detect, the erasable number of times of the residue of described solid state hard disc is less than described predetermined erasable threshold value, then control described solid state hard disc and stop erasable operation.
8. method according to claim 1, it is characterized in that, described controling parameters also comprises the residual capacity of solid state hard disc, when described controling parameters comprises the residual capacity of described solid state hard disc, the described controling parameters that described basis gets controls the storage operation in described mixing storage system, comprising:
Whether the residual capacity detecting described solid state hard disc is less than predetermined volumes threshold value;
If detect, the residual capacity of described solid state hard disc is less than described predetermined volumes threshold value, then by the not accessed and accessed least number of times of history current in described solid state hard disc, the data-moving of predetermined amount of data is in described mechanical hard disk.
9. a memory control device, for including in the mixing storage system of mechanical hard disk and solid state hard disc, is characterized in that, described device comprises:
Controling parameters acquisition module, for obtaining controling parameters, described controling parameters comprises: at least one in the Temperature numerical of mechanical hard disk and the vibrating numerical of mechanical hard disk, and the vibrating numerical of described mechanical hard disk is obtained by vibration transducer;
Control module, controls the storage operation in described mixing storage system for the described controling parameters got according to described controling parameters acquisition module;
Described control module comprises:
Whether first temperature detecting unit, for when the controling parameters that described controling parameters acquisition module gets comprises the Temperature numerical of described mechanical hard disk, detect the Temperature numerical of described mechanical hard disk more than the first temperature threshold;
Second control module, if detect that the Temperature numerical of described mechanical hard disk exceedes described first temperature threshold for described first temperature detecting unit, then controls described mechanical hard disk and reduces read or write speed;
Described control module also comprises:
Whether first vibration detecting unit, for when the controling parameters that described controling parameters acquisition module gets comprises the vibrating numerical of described mechanical hard disk, detect the vibrating numerical of described mechanical hard disk more than the first vibration threshold;
5th control module, if detect that the vibrating numerical of described mechanical hard disk exceedes described first vibration threshold for described first vibration detecting unit, then controls described mechanical hard disk and reduces read or write speed.
10. device according to claim 9, is characterized in that, described controling parameters also comprises the type of system business, and described control module comprises:
Whether type of service detecting unit, for when the controling parameters that described controling parameters acquisition module gets comprises the type of described system business, detect the type of described system business for being sequentially written in; The type of described system business when the described data write sector be sequentially written in as: described system business is contiguous sector;
First control module, if detect that the type of described system business is for being sequentially written in for described type of service detecting unit, then the business datum controlling described system business preferentially writes in described solid state hard disc.
11. devices according to claim 9, is characterized in that, described control module also comprises:
Second temperature detecting unit, for control described mechanical hard disk reduction read or write speed at described second control module after, whether detect the Temperature numerical of described mechanical hard disk more than the second temperature threshold, described second temperature threshold is greater than described first temperature threshold;
3rd control module, if detect that the Temperature numerical of described mechanical hard disk exceedes described second temperature threshold for described second temperature detecting unit, then controls described mechanical hard disk out of service.
12. devices according to claim 11, is characterized in that, described control module also comprises:
3rd temperature detecting unit, for control at described 3rd control module described mechanical hard disk out of service after, whether detect the Temperature numerical of described mechanical hard disk lower than the 3rd temperature threshold, described 3rd temperature threshold is equal to or less than described second temperature threshold;
4th control module, if detect that the Temperature numerical of described mechanical hard disk is lower than described 3rd temperature threshold for described 3rd temperature detecting unit, then controls described mechanical hard disk and restarts to run.
13. devices according to claim 9, is characterized in that, described control module also comprises:
Second vibration detecting unit, for control described mechanical hard disk reduction read or write speed at described 5th control module after, whether detect the vibrating numerical of described mechanical hard disk more than the second vibration threshold, described second vibration threshold is greater than described first vibration threshold;
6th control module, if detect that the vibrating numerical of described mechanical hard disk exceedes described second vibration threshold for described second vibration detecting unit, then controls described mechanical hard disk out of service.
14. devices according to claim 13, is characterized in that, described control module also comprises:
3rd vibration detecting unit, for control at described 6th control module described mechanical hard disk out of service after, whether detect the vibrating numerical of described mechanical hard disk lower than the 3rd vibration threshold, described 3rd vibration threshold is equal to or less than described second vibration threshold;
7th control module, if detect that the vibrating numerical of described mechanical hard disk is lower than described 3rd vibration threshold for described 3rd vibration detecting unit, then controls described mechanical hard disk and restarts to run.
15. devices according to claim 9, is characterized in that, described controling parameters also comprises the erasable number of times of residue of solid state hard disc, and described control module comprises:
Erasable number of times detecting unit, during the erasable number of times of the residue for comprising described solid state hard disc when the controling parameters that described controling parameters acquisition module gets, whether the erasable number of times of residue detecting described solid state hard disc is less than predetermined erasable frequency threshold value;
8th control module, if detect that the erasable number of times of the residue of described solid state hard disc is less than described predetermined erasable frequency threshold value for described erasable number of times detecting unit, then controls described solid state hard disc and stops erasable operation.
16. devices according to claim 9, it is characterized in that, described controling parameters also comprises the residual capacity of solid state hard disc, described control module comprises:
Remaining capacity detection unit, for when the controling parameters that described controling parameters acquisition module gets comprises the residual capacity of described solid state hard disc, whether the residual capacity detecting described solid state hard disc is less than predetermined volumes threshold value;
9th control module, if detect that the residual capacity of described solid state hard disc is less than described predetermined volumes threshold value for described remaining capacity detection unit, then by the not accessed and accessed least number of times of history current in described solid state hard disc, the data-moving of predetermined amount of data is in described mechanical hard disk.
CN201310102483.1A 2013-03-27 2013-03-27 Storage controlling method and device Expired - Fee Related CN103218173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310102483.1A CN103218173B (en) 2013-03-27 2013-03-27 Storage controlling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310102483.1A CN103218173B (en) 2013-03-27 2013-03-27 Storage controlling method and device

Publications (2)

Publication Number Publication Date
CN103218173A CN103218173A (en) 2013-07-24
CN103218173B true CN103218173B (en) 2016-03-09

Family

ID=48816027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310102483.1A Expired - Fee Related CN103218173B (en) 2013-03-27 2013-03-27 Storage controlling method and device

Country Status (1)

Country Link
CN (1) CN103218173B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346561B (en) * 2013-07-29 2017-12-29 联想(北京)有限公司 A kind of method and device for protecting memory cell
US9588901B2 (en) * 2015-03-27 2017-03-07 Intel Corporation Caching and tiering for cloud storage
CN106062876B (en) * 2016-06-03 2019-09-06 深圳市锐明技术股份有限公司 Date storage method and device
TWI637268B (en) * 2017-03-22 2018-10-01 慧榮科技股份有限公司 Host device and methods for controlling a data transfer speed
CN107678927B (en) * 2017-10-31 2021-01-29 苏州浪潮智能科技有限公司 Method, device and equipment for allocating hard disk IO and computer readable storage medium
CN107894941A (en) * 2017-11-14 2018-04-10 郑州云海信息技术有限公司 A kind of SSD Working state monitoring devices and method
CN108052292A (en) * 2017-12-25 2018-05-18 成都信息工程大学 A kind of high-temperature protection method of solid state disk
CN110825314B (en) * 2018-08-10 2024-02-02 浙江宇视科技有限公司 Data scheduling method and device
CN111274098B (en) * 2018-12-05 2023-10-10 杭州海康威视数字技术股份有限公司 Storage device alarm method and device based on internet of things (IoT)
CN109656487B (en) * 2018-12-24 2023-04-28 平安科技(深圳)有限公司 Data processing method, device, equipment and storage medium
US10877683B2 (en) 2019-04-09 2020-12-29 International Business Machines Corporation Tiered storage optimization and migration
CN111736765B (en) * 2020-05-28 2023-01-06 苏州浪潮智能科技有限公司 Method, device and medium for supervising data block state
CN112506744B (en) * 2020-12-11 2023-08-25 浪潮电子信息产业股份有限公司 Method, device and equipment for monitoring running state of NVMe hard disk
CN114356043A (en) * 2021-11-27 2022-04-15 杭州云豆豆智能科技有限公司 Hard disk anti-vibration control method, device and system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976181A (en) * 2010-10-15 2011-02-16 杭州宏杉科技有限公司 Management method and device of storage resources
CN102520885A (en) * 2011-12-15 2012-06-27 清华大学 Data management system for hybrid hard disk
CN102591593A (en) * 2011-12-28 2012-07-18 华为技术有限公司 Method for switching hybrid storage modes, device and system
CN102662459A (en) * 2012-04-22 2012-09-12 复旦大学 Method for reducing energy consumption of server by using mixed storage of solid-state drive and mechanical hard disk
CN102831088A (en) * 2012-07-27 2012-12-19 国家超级计算深圳中心(深圳云计算中心) Data migration method and device based on mixing memory

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100866962B1 (en) * 2007-03-08 2008-11-05 삼성전자주식회사 How to convert an HDD from a hybrid HDD to a normal HDD

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101976181A (en) * 2010-10-15 2011-02-16 杭州宏杉科技有限公司 Management method and device of storage resources
CN102520885A (en) * 2011-12-15 2012-06-27 清华大学 Data management system for hybrid hard disk
CN102591593A (en) * 2011-12-28 2012-07-18 华为技术有限公司 Method for switching hybrid storage modes, device and system
CN102662459A (en) * 2012-04-22 2012-09-12 复旦大学 Method for reducing energy consumption of server by using mixed storage of solid-state drive and mechanical hard disk
CN102831088A (en) * 2012-07-27 2012-12-19 国家超级计算深圳中心(深圳云计算中心) Data migration method and device based on mixing memory

Also Published As

Publication number Publication date
CN103218173A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103218173B (en) Storage controlling method and device
US7525745B2 (en) Magnetic disk drive apparatus and method of controlling the same
CN103176748B (en) Equipment operation based on environment
TWI430094B (en) Memory storage device, memory controller, and temperature management method
US8930645B2 (en) Method and apparatus using linked lists for streaming of data for soild-state bulk storage device
CN109346122B (en) Method and device for testing performance of solid state disk
US20140310445A1 (en) Storage control system with power-off time estimation mechanism and method of operation thereof
KR20090078999A (en) Adaptive recording method according to disturbance state and storage device using same
US9361222B2 (en) Electronic system with storage drive life estimation mechanism and method of operation thereof
CN110111835B (en) A kind of NVMe solid-state hard disk IOPS testing method, system and device
JP2007193449A (en) Information recorder, and control method therefor
US20140215130A1 (en) Clock switching method, memory controller and memory storage apparatus
US10747462B2 (en) Data processing system and operating method thereof
JP2007193865A (en) Information recording device and its control method
JP2007193448A (en) Information recorder, and control method therefor
US20240160260A1 (en) Electronic device for predicting chip temperature and performing pre-operation, and operation method thereof
US20170212711A1 (en) Disk apparatus and control method
TWI390548B (en) Data storing methods and apparatus thereof
JP2007193866A (en) Information recording device and its control method
CN102880432A (en) Method and system for increasing writing speeds of flash memory chips by aid of limited lives of data and controller of system
US12314168B2 (en) Controller for improving wear leveling efficiency, storage device and method for operating storage device
CN103399783A (en) Storage method and device of mirror image documents of virtual machines
CN103176753A (en) Storage device and data management method of storage device
US20210240605A1 (en) Storage system with file priority mechanism and method of operation thereof
TWI317525B (en) The method of index for logical to physical blocks translation in flash storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160309

Termination date: 20180327

CF01 Termination of patent right due to non-payment of annual fee