Movatterモバイル変換


[0]ホーム

URL:


CN113238647A - Energy-saving time-sharing control method for storage - Google Patents

Energy-saving time-sharing control method for storage
Download PDF

Info

Publication number
CN113238647A
CN113238647ACN202110598396.4ACN202110598396ACN113238647ACN 113238647 ACN113238647 ACN 113238647ACN 202110598396 ACN202110598396 ACN 202110598396ACN 113238647 ACN113238647 ACN 113238647A
Authority
CN
China
Prior art keywords
disk
data
ssd
storage
control method
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.)
Pending
Application number
CN202110598396.4A
Other languages
Chinese (zh)
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.)
Shandong Zhongke Haoliang Technology Co ltd
Original Assignee
Shandong Zhongke Haoliang Technology 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 Shandong Zhongke Haoliang Technology Co ltdfiledCriticalShandong Zhongke Haoliang Technology Co ltd
Priority to CN202110598396.4ApriorityCriticalpatent/CN113238647A/en
Publication of CN113238647ApublicationCriticalpatent/CN113238647A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种用于存储的节能分时控制方法,所述存储控制方法包含以下步骤:首先通过算法来控制数据的写入;在数据写入时,将数据直接写入SSD盘中;检测SSD盘存储空间如果满载,则SSD盘转移数据内容到HDD盘中;检测SSD盘存储空间如果不是满载,则继续等待数据写入;检测如果处于低谷期(电费低)时,则SSD盘转移数据到HDD盘中;检测如果处于高峰期(电费高)时,则数据直接写入SSD盘中;数据转移完成后,则驻停或者降低HDD盘运行状态。该用于存储的节能分时控制方法,在用电峰谷期间和电费较低时,将SSD盘中的内容迁移到HDD中去,同时结合了HDD与SSD的优点,响应了国家在用电峰谷时期的政策,降低了用户电力成本,达到节能效果。The invention discloses an energy-saving time-sharing control method for storage. The storage control method comprises the following steps: firstly, controlling the writing of data through an algorithm; when writing the data, directly writing the data into an SSD disk; If the storage space of the SSD disk is fully loaded, the SSD disk will transfer the data content to the HDD disk; if the storage space of the SSD disk is not fully loaded, it will continue to wait for data writing; if it is detected in a low period (low electricity cost), the SSD disk will be transferred. The data is transferred to the HDD disk; if it is detected during the peak period (high electricity cost), the data will be directly written to the SSD disk; after the data transfer is completed, the HDD disk will be parked or the running status of the HDD disk will be reduced. The energy-saving time-sharing control method for storage migrates the contents of the SSD disk to the HDD during the peak and valley of electricity consumption and when the electricity bill is low. The policy during the peak and valley period reduces the electricity cost of users and achieves the effect of energy saving.

Description

Energy-saving time-sharing control method for storage
Technical Field
The invention relates to the technical field of data storage, in particular to an energy-saving time-sharing control method for storage.
Background
In the era of high-speed development of the internet, the information output speed is increased by exponential multiplying power, the corresponding storage requirements are more and more increased, the existing storage Hard disks are divided into two types, namely a Hard Disk Drive (HDD) and a fixed Hard Disk Drive (SSD), and the HDD generally has large storage capacity, is low in unit capacity price, but is high in power consumption and low in read-write speed; compared to HDDs, SSDs have low power consumption and fast read and write rates, but have lower capacity and higher price per unit capacity.
In the background of the prior art, one or two parallel modes are mostly selected for writing data, and in the actual working process, the power consumption at different time intervals is different, and the data writing is performed by adopting different modes at different time intervals of the power consumption, so that not only can the energy consumption be increased, but also the waste of hard disk data is caused, and therefore, an energy-saving time-sharing control method for storage is provided so as to solve the problems provided in the prior art.
Disclosure of Invention
The invention aims to provide an energy-saving time-sharing control method for storage, which aims to solve the problems that in the prior art, in the actual working process, the power consumption at different time intervals is different, and data writing is carried out in different modes at different time intervals, so that the energy consumption is increased and the hard disk data is wasted.
In order to achieve the purpose, the invention provides the following technical scheme: a power-saving time-sharing control method for storage, the storage control method comprising the steps of:
the method comprises the following steps: firstly, controlling the writing of data through an algorithm;
step two: when data is written, the data is directly written into an SSD (solid state disk);
step three: detecting whether the storage space of the SSD is full;
step four: in the third step, if the storage space of the SSD disk is full, the SSD disk transfers certain spatial data content to an HDD disk (mechanical hard disk);
step five: if the SSD disk storage space is not full in the step three, continuing to wait for data writing;
step six: detecting the peak and valley of the power consumption by detecting a time-sharing power rate system in a timing manner;
step seven: detecting in step six that if the data is in a valley period (low electricity charge), transferring the data of the SSD disk to the HDD disk;
step eight: if the detection in the sixth step is in a peak period (high electric charge), the data is directly written into the SSD disc;
step nine: after the data transfer in the step seven is finished, stopping or reducing the running state of the HDD disk;
step ten: and repeating the second step to the ninth step.
Preferably, the capacities (Tb) of the SSD disk (solid state disk) and the HDD disk (mechanical hard disk) are in accordance with 5: the ratio of 200.
Preferably, in the seventh step, when the power consumption peak and valley occur, the SSD disk data is migrated to the HDD disk by the time-sharing control algorithm.
Preferably, in the step eight, during the peak period of power consumption, data is written into the SSD disk, and the mechanical hard disk is in a sleep state or a low-speed operation state at this time.
Preferably, in the third step, the storage space of the SSD disk is dynamically detected in a full load state based on the memory space detection unit.
Preferably, the data transfer priority detected by the SSD disk full load state in the fourth step is higher than the data transfer priority detected by the power state in the seventh step.
Compared with the prior art, the invention has the beneficial effects that: according to the energy-saving time-sharing control method for storage, the content in the SSD is transferred to the HDD during the peak-valley period of power consumption and when the power fee is low, meanwhile, the advantages of the HDD and the SSD are combined, the policy of the state during the peak-valley period of power consumption is responded, the power cost of a user is reduced, and the energy-saving effect is achieved;
1. according to the scheme, the storage condition of the SSD can be detected in real time by dynamically detecting the full-load state of the space of the SSD, so that the data can be transferred in time, and the data cannot be written in;
2. in the scheme, the data migration of the SSD is carried out by using the electric quantity, so that the energy consumption in the peak period of power utilization can be reduced, and meanwhile, when the data do not move forwards, the HDD disk keeps dormant or runs at a low speed, thereby being beneficial to reducing the power cost and ensuring energy conservation.
Drawings
FIG. 1 is a flow chart of the data storage control operation of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a technical solution: a power-saving time-sharing control method for storage, wherein storage control is operated by the steps of:
1. firstly, controlling the writing of data through an algorithm;
2. when data are written, the data are directly written into an SSD (solid state disk) through algorithm control;
3. detecting the full load state of the SSD disk storage space through a memory space detection unit;
4. if the detection result of the storage space of the SSD disk is full, transferring the internal data of the SSD disk to a certain space data content to an HDD disk (mechanical hard disk);
if the detection result of the storage space of the SSD disk is not full, continuing to wait for the write algorithm to control the data to be written into the SSD disk;
5. detecting the peak and valley of the power consumption by detecting a time-sharing power rate system in a timing manner;
6. if the electricity consumption detection structure is in a low valley period (low electricity charge), transferring certain spatial data content of the internal data of the SSD disk to the HDD disk;
if the electricity consumption detection structure is in a peak period (high electricity charge), continuing to wait for the writing algorithm to control the data to be written into the SSD disk, and meanwhile, enabling the HDD disk to be in a dormant state or a low-speed running state;
7. repeatedly carrying out the steps to ensure the operation of the storage writing system;
the data transfer priority of the SSD disk full load state detection is higher than the data transfer priority of the electric quantity state detection in step seven, that is, when the SSD disk data is detected to be full load state, the data transfer is directly performed, so that the SDD disk can be ensured to continuously and stably perform data writing, and data omission is avoided, which is the whole working process of the energy-saving time-sharing control method for storage.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and all the changes or substitutions should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (6)

Translated fromChinese
1.一种用于存储的节能分时控制方法,其特征在于:所述存储控制方法包含以下步骤:1. An energy-saving time-sharing control method for storage, characterized in that: the storage control method comprises the following steps:步骤一:首先通过算法来控制数据的写入;Step 1: First, control the writing of data through an algorithm;步骤二:在数据写入时,将数据直接写入SSD盘(固态硬盘)中;Step 2: When writing data, write the data directly into the SSD disk (solid state disk);步骤三:检测SSD盘存储空间是否满载;Step 3: Check whether the storage space of the SSD disk is full;步骤四:步骤三中SSD盘存储空间如果满载,则SSD盘转移一定空间数据内容到HDD盘(机械硬盘)中;Step 4: If the storage space of the SSD disk is full in step 3, the SSD disk will transfer a certain amount of data content to the HDD disk (mechanical hard disk);步骤五:步骤三中SSD盘存储空间如果不是满载,则继续等待数据写入;Step 5: If the storage space of the SSD disk is not full in Step 3, continue to wait for data to be written;步骤六:通过定时检测分时电费制度进行用电高峰和用电峰谷的检测;Step 6: Detect the peak and valley of electricity consumption through the regular detection of the time-of-use electricity tariff system;步骤七:经步骤六中检测如果处于低谷期(电费低)时,则将SSD盘转移数据到HDD盘中;Step 7: If detected in step 6, if it is in a low period (low electricity bill), then transfer the data from the SSD disk to the HDD disk;步骤八:经步骤六中检测如果处于高峰期(电费高)时,则数据直接写入SSD盘中;Step 8: If it is detected in step 6 that it is in the peak period (high electricity bill), the data will be directly written to the SSD disk;步骤九:经步骤七中数据转移完成后,则驻停或者降低HDD盘运行状态;Step 9: After the data transfer in Step 7 is completed, park or lower the running status of the HDD disk;步骤十:重复上述步骤二至步骤九。Step 10: Repeat steps 2 to 9 above.2.根据权利要求1所述的一种用于存储的节能分时控制方法,其特征在于:所述SSD盘(固态硬盘)和HDD盘(机械硬盘)的容量(Tb)按照5:200的比例设置。2 . The energy-saving time-sharing control method for storage according to claim 1 , wherein the capacity (Tb) of the SSD disk (solid state disk) and the HDD disk (mechanical hard disk) is 5:200. 3 . Scale settings.3.根据权利要求1所述的一种用于存储的节能分时控制方法,其特征在于:所述步骤七中当用电峰谷时,通过分时控制算法运转将SSD盘数据迁移到HDD盘中。3. The energy-saving time-sharing control method for storage according to claim 1, wherein in the step 7, when the power consumption is peak and valley, the SSD disk data is migrated to the HDD by running the time-sharing control algorithm on the plate.4.根据权利要求1所述的一种用于存储的节能分时控制方法,其特征在于:所述步骤八中在用电高峰时期,数据写入到SSD盘中,同时此时的机械硬盘处于休眠状态或者低速运转状态。4. The energy-saving time-sharing control method for storage according to claim 1, characterized in that: in the step 8, during the peak period of power consumption, data is written into the SSD disk, and the mechanical hard disk at this time is at the same time. In sleep state or low speed operation state.5.根据权利要求1所述的一种用于存储的节能分时控制方法,其特征在于:所述步骤三中SSD盘的存储空间基于内存空间检测单元进行满载状态的动态检测。5 . The energy-saving time-sharing control method for storage according to claim 1 , wherein in the step 3, the storage space of the SSD disk is dynamically detected based on a memory space detection unit for a fully loaded state. 6 .6.根据权利要求1所述的一种用于存储的节能分时控制方法,其特征在于:所述步骤四中SSD盘满载状态检测的数据转移优先级高于步骤七中用电量状态检测的数据转移优先级。6 . The energy-saving time-sharing control method for storage according to claim 1 , wherein the data transfer priority of the SSD disk full-load state detection in the step 4 is higher than the power consumption state detection in the step 7 . 7 . data transfer priority.
CN202110598396.4A2021-05-312021-05-31Energy-saving time-sharing control method for storagePendingCN113238647A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110598396.4ACN113238647A (en)2021-05-312021-05-31Energy-saving time-sharing control method for storage

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110598396.4ACN113238647A (en)2021-05-312021-05-31Energy-saving time-sharing control method for storage

Publications (1)

Publication NumberPublication Date
CN113238647Atrue CN113238647A (en)2021-08-10

Family

ID=77135811

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110598396.4APendingCN113238647A (en)2021-05-312021-05-31Energy-saving time-sharing control method for storage

Country Status (1)

CountryLink
CN (1)CN113238647A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102662459A (en)*2012-04-222012-09-12复旦大学Method for reducing energy consumption of server by using mixed storage of solid-state drive and mechanical hard disk
CN103186350A (en)*2011-12-312013-07-03北京快网科技有限公司Hybrid storage system and hot spot data block migration method
CN104102454A (en)*2013-04-072014-10-15杭州信核数据科技有限公司Method for automatically realizing hierarchical storage and system for managing hierarchical storage
CN104698309A (en)*2014-12-262015-06-10深圳市兰丁科技有限公司Method and system for acquiring power consumption information
CN107315540A (en)*2017-06-132017-11-03深圳神州数码云科数据技术有限公司A kind of AUTOMATIC ZONING storage method and system
CN110515549A (en)*2019-08-162019-11-29浪潮电子信息产业股份有限公司 A data migration method and device
CN111352590A (en)*2020-02-262020-06-30上海霄云信息科技有限公司File storage method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103186350A (en)*2011-12-312013-07-03北京快网科技有限公司Hybrid storage system and hot spot data block migration method
CN102662459A (en)*2012-04-222012-09-12复旦大学Method for reducing energy consumption of server by using mixed storage of solid-state drive and mechanical hard disk
CN104102454A (en)*2013-04-072014-10-15杭州信核数据科技有限公司Method for automatically realizing hierarchical storage and system for managing hierarchical storage
CN104698309A (en)*2014-12-262015-06-10深圳市兰丁科技有限公司Method and system for acquiring power consumption information
CN107315540A (en)*2017-06-132017-11-03深圳神州数码云科数据技术有限公司A kind of AUTOMATIC ZONING storage method and system
CN110515549A (en)*2019-08-162019-11-29浪潮电子信息产业股份有限公司 A data migration method and device
CN111352590A (en)*2020-02-262020-06-30上海霄云信息科技有限公司File storage method and equipment

Similar Documents

PublicationPublication DateTitle
Kaushik et al.Evaluation and analysis of greenhdfs: A self-adaptive, energy-conserving variant of the hadoop distributed file system
CN111367469B (en)Method and system for migrating layered storage data
Douglis et al.Thwarting the Power-Hungry Disk.
Caulfield et al.Gordon: using flash memory to build fast, power-efficient clusters for data-intensive applications
CN102549524B (en)Adaptive power conservation in storage clusters
CN100541411C (en) Redundant Array of Independent Disks (RAID) system with high-power and low-power disk drives
US8316182B2 (en)Hierarchical storage management for database systems
TWI390444B (en)Processing device with main and auxiliary processors
US9471134B2 (en)Method and apparatus for managing power of a storage system
US8286015B2 (en)Storage array power management using lifecycle information
CN101446857B (en)Method for energy saving of hard disks and device thereof
JP5828549B2 (en) Disk power management method, computer program, data storage device, and computer system
CN103514084A (en)Test method for reflecting hard-disk read-write energy efficiency of computer equipment
Llopis et al.Survey of energy-efficient and power-proportional storage systems
US8713280B2 (en)Hard disk drives having different rotational speeds
CN101344812A (en) A Disk Dynamic Power Management Method Based on Embedded System
CN110515549A (en) A data migration method and device
US8917471B1 (en)Power management for data storage device
CN113238647A (en)Energy-saving time-sharing control method for storage
Chen et al.CacheRAID: An efficient adaptive write cache policy to conserve RAID disk array energy
CN105260146A (en)Setting method and device capable of saving energy for disk
Bostoen et al.Analysis of disk power management for data-center storage systems
CN103176813A (en)Method for dormancy mechanism and computer system thereof
CN106528002A (en)Time-based storage scheduling method
Bisson et al.Reducing energy consumption using a non-volatile storage cache

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information

Address after:276000 3 / F, Yimeng cloud Valley incubator, 200m west of the intersection of Hefei Road and Volvo Road, Linyi Economic and Technological Development Zone, Linyi City, Shandong Province

Applicant after:Shandong Zhongke Haoliang Basic Software Technology Co.,Ltd.

Address before:276000 3 / F, Yimeng cloud Valley incubator, 200m west of the intersection of Hefei Road and Volvo Road, Linyi Economic and Technological Development Zone, Linyi City, Shandong Province

Applicant before:Shandong Zhongke Haoliang Technology Co.,Ltd.

CB02Change of applicant information
RJ01Rejection of invention patent application after publication

Application publication date:20210810

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp