CN102799395B - Dynamic balancing processing method and device for disk spaces and disk system - Google Patents

Dynamic balancing processing method and device for disk spaces and disk system Download PDF

Info

Publication number
CN102799395B
CN102799395B CN201210222700.6A CN201210222700A CN102799395B CN 102799395 B CN102799395 B CN 102799395B CN 201210222700 A CN201210222700 A CN 201210222700A CN 102799395 B CN102799395 B CN 102799395B
Authority
CN
China
Prior art keywords
disk
data file
class data
space
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210222700.6A
Other languages
Chinese (zh)
Other versions
CN102799395A (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 CN201210222700.6A priority Critical patent/CN102799395B/en
Publication of CN102799395A publication Critical patent/CN102799395A/en
Application granted granted Critical
Publication of CN102799395B publication Critical patent/CN102799395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a dynamic balancing processing method and a dynamic balancing processing device for disk spaces and a disk system, wherein the dynamic balancing processing method comprises the following steps of: acquiring the remaining space amount of a disk; when the value of the remaining space amount of the disk is less than a first threshold value, deleting data files exceeding a time limit in time-constraint-class data files, and/or deleting useless data files from a class of data files with a relatively high space utilization rate in proportion-constrain-class data files; and when the remaining space amount of the disk reaches a second threshold value, stopping cleaning. The dynamic balancing processing device comprises an acquisition module and a first deletion processing module, wherein the acquisition module is used for acquiring the remaining space amount of the disk; and the first deletion processing module is used for deleting the data files exceeding the time limit in the time-constraint-class data files when the value of the remaining space amount of the disk is less than the first threshold value, and/or deleting useless data files from the class of data files with the relatively high space utilization rate in the proportion-constrain-class data files, and when the value of the remaining space amount of the disk reaches a second threshold value, the cleaning is stopped. The disk system comprises a dynamic balancing processing device and the disk.

Description

The mobile equilibrium disposal route of disk space and device, and disk system
Technical field
The embodiment of the present invention relates to disk management technical field, particularly relates to a kind of mobile equilibrium disposal route and device of disk space, and disk system.
Background technology
Base station controller (Base Station Controller, hereinafter referred to as: BSC) Backend Administration Module (the Back Administration Module of system, hereinafter referred to as: BAM) based on Windows operating system, BAM is the operation maintenance center of BSC, is again data storage center simultaneously.In the operational process of BSC, all kinds data constantly can generate various types of data file on BAM, and (all types of data not necessarily generate data file simultaneously, and the speed that all types of data files produces also is not quite similar), these data files constantly generate and need to store on disk, so will certainly take whole disk space in the course of time.Therefore to manage disk space, periodic cleaning data file, ensure the normal operation of operating system.
In the management method of existing disk space, first, the data file of all types of data genaration is classified, then with room and time two dimensions, dissimilar data file is managed.Wherein, the management of Spatial Dimension is that namely promise to undertake the disk space size being reserved to the type data file and using, other types data file can not take the disk space of this data file for the data file of each type distributes a certain size disk space.Such as A, B, C tri-class data file, total disk space is 100G, and the disk space of category-A data file is 15G, and the disk space of category-B data file is 30G, C class data file disk space is 55G.
The management of time dimension refers to that the data literary composition into above-mentioned a certain type or several types specifies that a holding time such as category-A data file is except distribution 15G space, and also regulation can preserve 5 days.
In the process of system cloud gray model, because all types of data files constantly produces, and continue take disk space.So run a disk space management module in systems in which simultaneously, the Main Function of this module is timing scan Various types of data file, pre-assigned space has been exceeded at Spatial Dimension at this class data file, or on time dimension, exceeded the prespecified retention time, then delete the data file generated the earliest in this class data file, until this class data file is all less than preset value at Spatial Dimension and time dimension.
In above-mentioned prior art, all types of data file is not generate simultaneously, and the generation speed of Various types of data file is not identical yet, in use can there is a large amount of disk remaining spaces, cause disk resource to waste.
Summary of the invention
The mobile equilibrium disposal route of the disk space that the embodiment of the present invention provides and device, and disk system, in order to improve disk remaining space utilization rate, reduce the unbalanced and disk resource waste that disk remaining space uses.
The embodiment of the present invention provides a kind of mobile equilibrium disposal route of disk space on the one hand, comprising:
Obtain the disk remaining space amount in disk;
When disk remaining space amount in described disk is less than default first threshold, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space;
When disk remaining space amount in described disk reaches default Second Threshold, stop deleting data file.
The embodiment of the present invention provides a kind of mobile equilibrium treating apparatus of disk space on the other hand, comprising:
Acquisition module, for obtaining the disk remaining space amount in disk;
First delete processing module, when being less than default first threshold for the disk remaining space amount in described disk, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space; When disk remaining space amount in described disk reaches default Second Threshold, stop deleting data file.
The embodiment of the present invention provides a kind of disk system on the other hand, comprises the mobile equilibrium treating apparatus of disk space, and disk, and the mobile equilibrium treating apparatus of described disk space is used for carrying out mobile equilibrium process to described disk.
The mobile equilibrium disposal route of the disk space that the embodiment of the present invention provides and device, and disk system, time-constrain class data file wherein and ratio constraint class data file are can the data file of shared disk remaining space, and by setting first threshold and Second Threshold in advance, obtain disk remaining space amount, when disk remaining space amount in described disk is less than default first threshold, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, until the disk remaining space amount in described disk reaches default Second Threshold, making full use of of disk space can be ensured.
Accompanying drawing explanation
Fig. 1 is the structural representation that in the embodiment of the present invention, disk divides;
Fig. 2 is the schematic flow sheet of the mobile equilibrium disposal route of disk space in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the present invention one specific embodiment;
Fig. 4 is the mobile equilibrium treating apparatus structural representation of disk space;
Fig. 5 is the mobile equilibrium treating apparatus structural representation of disk space.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In use can there is a large amount of disk remaining spaces for prior art, the problem of operation disk resource waste, first adjusts to the sorting technique of different types of data file in embodiments of the present invention, is divided three classes generally:
There is the data file of planning can only use the space of oneself for Spatial Dimension, the space of other types data file can not be used, this class data file belongs to fixed disk spatial class data file, and this class data file only needs the disk space of a distribution fixed size.
In addition, other types data file is when system still has disk remaining space, whole disk remaining space can be shared, wherein comprise the remaining disk space of fixed disk spatial class data file, this class data file comprises time-constrain class data file and ratio constraint class data file, wherein time-constrain class data file is the storage period specifying that it can store, such as specify its number of days that can store, the number of days that also can be able to store according to it in disk is converted into certain disk space, and for it allocates such disk space in advance in disk, but, when not reaching above-mentioned storage number of days, if this class data file has been filled with pre-assigned disk space, it can be stored into other disk remaining spaces in disk, or when other types data file needs, other types data file also can use the disk space for this class data file divides.Ratio constraint class data file is by the ratio of setting this type data file in disk space, distribute the different planning value of ratio constraint class data file in disk space, and when also having disk remaining space outside disk space removing retention disk space, disk remaining space still can store to ratio constraint class data file in the proportional distribution of setting in advance.
Give the data file of three types in the present embodiment, i.e. fixed disk spatial class data file, time-constrain class data file and ratio constraint class data file.But fixed disk spatial class data file can not be comprised and only time constraint class data file and ratio constraint class data file in some other application of the present invention, will not limit herein.
In embodiments of the present invention for ensureing the normal operation of operating system, can also retain certain disk space for operating system, this retention disk space can be the first threshold in the embodiment of the present invention.That is, when disk remaining space is less than the size in above-mentioned retention disk space, the mobile equilibrium disposal route of the disk space provided in the embodiment of the present invention and device, and disk system starts to clear up time-constrain class data file and ratio constraint class data file.Remove outside above-mentioned retention disk space, first can mark the space of fixed disk spatial class data file, last remaining allocation of space is to time-constrain class data file and ratio constraint class data file, ratio constraint class data file carries out disk space distribution according to a certain percentage, can avoid like this, when disk expansion capacity, resetting the planning value of Various types of data file.
Fig. 1 is the structural representation that in the embodiment of the present invention, disk divides, as shown in Figure 1, when the gross space of this disk is 100G, wherein retention disk space, namely the disk space amount taken when operating system is normally run in disk is 5G, category-A type data file is fixed disk spatial class data file, distribute 2G, category-B type data file is fixed disk spatial class data file, distribute 10G, C type data file is time-constrain class data file, plan that storage time is 3 days, be converted to disk space and be about 3G, D type data file, E type data file and F type data file are ratio constraint class data file, wherein D type data file distributes 10G, E type data file distributes 20G, F type data file distributes 50G.When disk space expands to 200G, prior art needs to reset data file planning value.And in the present invention, ratio constraint class data file will distribute disk space under a proportional relationship automatically, that is, D type data file can be automatically set as 22.5G, E type data file according to ratio and can be automatically set as 45G, F type data file according to ratio and can be automatically set as 112.5G according to ratio.
Based on the planing method of above-mentioned data file sorting technique and disk space, the embodiment of the present invention provides a kind of mobile equilibrium disposal route of disk space, Fig. 2 is the schematic flow sheet of the mobile equilibrium disposal route of disk space in the embodiment of the present invention, as shown in Figure 2, comprises following step:
Step 101, the disk remaining space amount obtained in disk;
Step 102, when disk remaining space amount in described disk is less than default first threshold, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, here space utilization rate refers to the ratio of the actual disk space taken of a class data file and the disk space distributed for this class data file, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space, described first threshold can be retention disk space,
When step 103, disk remaining space amount in described disk reach default Second Threshold, stop deleting data file.
In the above embodiment of the present invention, wherein time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space, and the disk remaining space amount only in described disk is when being less than default first threshold, just startup data file is deleted, the storage capacity of disk can be given full play to, avoid a large amount of disks idle, improve disk resource utilization factor.
The mobile equilibrium disposal route that the embodiment of the present invention provides, when comprising fixed disk spatial class data file, can also comprise following step:
When the disk space that fixed disk spatial class data file takies reaches pre-assigned disk space, delete the data file generated the earliest in fixed disk spatial class data file, until the disk space that fixed disk spatial class data file takies is less than pre-assigned disk space.
The mobile equilibrium disposal route that the above embodiment of the present invention provides, wherein select erasing time to retrain in class data file the data file of exceeding the time limit in step 102, and/or from the higher class data file of utilization rate between ratio constraint class data file hollow, delete the data file generated the earliest be specifically as follows:
The data file of exceeding the time limit in prioritizing selection erasing time constraint class data file, after formerly selecting the data file of exceeding the time limit in erasing time constraint class data file, if the disk remaining space amount of further judgement in disk does not reach default Second Threshold, then retrain the class data file that between class data file hollow, utilization rate is higher from ratio and delete the data file generated the earliest, until the disk remaining space amount in described disk reaches default Second Threshold, clear up from high to low according to space utilization rate like this, can ensure that the ratio of the ratio that these data files take up room and planning is consistent.
Further, in the above embodiment of the present invention, first threshold wherein can for the disk space amount taken when operating system in described disk is normally run, also can be when in above-mentioned disk, operating system is normally run on the basis of the disk space amount taken, increase certain safety value, namely increase the disk space of several G;
When being fixed disk spatial class data file distribution disk space in described disk, described Second Threshold is the disk space amount taken when operating system is normally run in described disk, is the disk space amount sum that fixed disk spatial class data file is distributed in described disk.
Fig. 3 is the schematic flow sheet of the present invention one specific embodiment, is further described the mobile equilibrium disposal route of the disk space that the embodiment of the present invention provides below in conjunction with Fig. 3.
As shown in Figure 3, the mobile equilibrium disposal route of this disk space comprises the steps:
Step 201, first obtains the disk remaining space amount in disk;
Step 202, compares disk remaining space amount and the first threshold preset, if disk remaining space amount is less than first threshold, then carry out step 203, starts cleaning; If disk remaining space amount is greater than first threshold, then jump directly to step 207, all types of data files stored are not deleted in disk, it should be noted that first threshold can be retention disk space;
Step 203, when disk remaining space amount is less than first threshold, the data file of exceeding the time limit in prioritizing selection time-constrain class data file is deleted;
The conversion counting to disk space to the conversion of number of days or sky due to disk space estimates, so likely occur that disk space has reached planning value, and store number of days not to storage period, likely occur that storing number of days first reaches planning value, but storage space does not also arrive the situation of planning value yet.Now pay the utmost attention to default time planning value, such as, in Fig. 1, planning C type data file storage period is three days, three days storage periods were scaled disk space greatly about about the space of 3G, if save C type data file to store two days, disk space shared by it reaches 4G, does not now delete C type data file, but the data file exceeding planning value 3G is stored in other disk remaining spaces; If C type data file stores four days, but its disk space taken only has 2G, do not exceed the 3G that planning value converts, now, due to its storage period should be paid the utmost attention to for time-constrain class data file, although so institute takes up space do not reach planning value, still need to delete the data file more than three day time limit, it should be noted that and select to delete data file the earliest herein.
Step 204, after the data file of exceeding the time limit in time-constrain class data file is deleted, disk remaining space and Second Threshold are compared, when disk remaining space reaches default Second Threshold, then jump directly to step 207, stop the cleaning to all types of data files stored in disk; When disk remaining space does not reach default Second Threshold, then carry out step 205, start comparative example constraint class data file and clear up;
Step 205, when disk remaining space does not reach default Second Threshold, starts comparative example constraint class data file and clears up.Retrain the class data file that between class data file hollow, utilization rate is higher from ratio and delete the data file generated the earliest, like this because the algorithm deleting data file is for foundation with space utilization rate height, the result of so clearing up still can ensure that the use of several data file to space of ratio constraint class data file is proportional consistent with the ratio of planning, thus reaches mobile equilibrium;
Step 206, compares disk remaining space and Second Threshold, when disk remaining space reaches Second Threshold, carry out step 207, namely stops removing; If disk remaining space does not reach Second Threshold, then continue rebound step 205, continue comparative example constraint class data file carry out clearing up until, disk remaining space reaches Second Threshold.
Fig. 4 is the schematic flow sheet of fixed disk spatial class data file method for cleaning, is further described fixed disk spatial class data file method for cleaning below in conjunction with Fig. 4.
As shown in Figure 4, this fixed disk spatial class data file method for cleaning step is as follows:
Step 301, first obtains the disk space amount that in disk, fixed disk spatial class data file takies;
Step 302, compares the disk space amount taken with the fixed disk spatial class data file obtained and pre-assigned disk space amount, if do not exceed default planning value, does not then clear up; If exceeded the planning value preset, then carry out step 303, fixed disk spatial class data file has been cleared up;
Step 303, deletes the data file generated the earliest in fixed disk spatial class data file;
Step 304, again the disk space amount that now fixed disk spatial class data file takies is compared with the space disk planning value preset, if now fixed disk spatial class data file memory space is still greater than planning value, then rebound step 303, proceed cleaning; If now fixed disk spatial class data file memory space has been less than planning value, then arrive step 305, terminate cleaning.
The mobile equilibrium disposal route of the disk space that the embodiment of the present invention provides, due to removing fixed disk spatial class data file, other types data file is when system still has disk remaining space, whole disk remaining space can be shared, wherein comprise the remaining disk space of fixed disk spatial class data file, the data file being so equivalent to these types can shared disk remaining space, disk remaining space can be utilized to greatest extent when the data file of some type does not generate, avoid waste.The design in retention disk space allows system can not produce fault because of Insufficient disk space all the time, improves reliability.The method of the planning disk space of ratio constraint class data file is pro-rata, and therefore the planning value of disk is revised in the lifting of disk specification without secondary.Because deletion data file algorithm is with space utilization rate height for foundation, the result of so clearing up still can ensure that ratio constraint class data file is identical with the ratio of planning to the usage ratio in space, thus reaches mobile equilibrium.
Fig. 5 is the mobile equilibrium treating apparatus structural representation of disk space, is described the mobile equilibrium treating apparatus of the disk space that inventive embodiments provides below in conjunction with Fig. 5
The mobile equilibrium treating apparatus 400 of the disk space that inventive embodiments provides, comprising:
Acquisition module 401, for obtaining the disk remaining space amount in disk;
First delete processing module 402, when being less than default first threshold for the disk remaining space amount in disk, first select the data file of exceeding the time limit in erasing time constraint class data file, and/or delete the data file generated the earliest from the higher class data file of utilization rate between ratio constraint class data file hollow; When disk remaining space amount in described disk reaches default Second Threshold, stop deleting data file.
In the above embodiment of the present invention, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space, and the disk remaining space amount only in described disk is when being less than default first threshold, just startup data file is deleted, the storage capacity of disk can be given full play to, avoid a large amount of disks idle, improve disk resource utilization factor, reduce the number of times starting cleaning.
The mobile equilibrium treating apparatus of the disk space that inventive embodiments provides, further can also comprise the second delete processing module 403, when disk space for taking in fixed disk spatial class data file reaches pre-assigned disk space, delete the data file generated the earliest in described fixed disk spatial class data file, until the disk space that fixed disk spatial class data file takies is less than pre-assigned disk space.
The mobile equilibrium treating apparatus of the disk space that inventive embodiments provides, the first delete processing module 402 wherein retrains the data file of exceeding the time limit in class data file specifically for first selecting erasing time, when disk remaining space amount in disk does not reach default Second Threshold, retrain the class data file that between class data file hollow, utilization rate is higher from ratio and delete the data file generated the earliest, until the disk remaining space amount in described disk reaches default Second Threshold.
The mobile equilibrium treating apparatus of the disk space that inventive embodiments provides, described first threshold is the disk space amount taken when operating system is normally run in described disk;
Or, when being fixed disk spatial class data file distribution disk space in described disk, described Second Threshold is the disk space amount taken when operating system is normally run in described disk, is the disk space amount that fixed disk spatial class data file is distributed in described disk.
The mobile equilibrium treating apparatus of the disk space that the embodiment of the present invention provides, due to removing fixed disk spatial class data file, other types data file is when system still has disk remaining space, whole disk remaining space can be shared, wherein comprise the remaining disk space of fixed disk spatial class data file, in fact mean that the data file of these types can shared disk remaining space, disk remaining space can be utilized to greatest extent when the data file of some type does not generate, avoid waste.The design in retention disk space allows system avoid because Insufficient disk space produces fault, improves the safety and reliability of system.Ratio constraint class data file pro-rata planning storage space, therefore the planning value of disk is revised in the lifting of disk specification without secondary.Because deletion data file algorithm is with space utilization rate height for foundation, the result of that is clearing up still can ensure that ratio constraint class data file is identical with the ratio of planning to the usage ratio in space, thus reaches mobile equilibrium.
The disk system that inventive embodiments provides, comprises the mobile equilibrium treating apparatus of described disk space, and disk, and the mobile equilibrium treating apparatus of described disk space is used for carrying out mobile equilibrium process to described disk.
The disk system that the embodiment of the present invention provides, due to removing fixed disk spatial class data file, other types data file is when system still has disk remaining space, whole disk remaining space can be shared, wherein comprise the remaining disk space of fixed disk spatial class data file, in fact mean that the data file of these types can shared disk remaining space, disk remaining space can be utilized to greatest extent when the data file of some type does not generate, avoid waste.The design in retention disk space allows system avoid because Insufficient disk space produces fault, improves the safety and reliability of system.Ratio constraint class data file pro-rata planning storage space, therefore the planning value of disk is revised in the lifting of disk specification without secondary.Because deletion data file algorithm is with space utilization rate height for foundation, the result of that is clearing up still can ensure that ratio constraint class data file is identical with the ratio of planning to the usage ratio in space, thus reaches mobile equilibrium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (7)

1. a mobile equilibrium disposal route for disk space, is characterized in that, comprising:
Obtain the disk remaining space amount in disk;
When disk remaining space amount in described disk is less than default first threshold, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space;
When disk remaining space amount in described disk reaches default Second Threshold, stop deleting data file;
When the disk space that fixed disk spatial class data file takies reaches pre-assigned disk space, delete the data file generated the earliest in described fixed disk spatial class data file, until the disk space that fixed disk spatial class data file takies is less than pre-assigned disk space.
2. the mobile equilibrium disposal route of disk space according to claim 1, it is characterized in that, the data file of exceeding the time limit in described selection erasing time constraint class data file, and/or from the higher class data file of utilization rate between ratio constraint class data file hollow, delete the data file generated the earliest comprise:
First select the data file of exceeding the time limit in erasing time constraint class data file, when disk remaining space amount in described disk does not reach default Second Threshold, retrain the class data file that between class data file hollow, utilization rate is higher from ratio and delete the data file generated the earliest, until the disk remaining space amount in described disk reaches default Second Threshold.
3. the mobile equilibrium disposal route of disk space according to claim 1, is characterized in that, described first threshold is the disk space amount taken when operating system is normally run in described disk;
Or, when being fixed disk spatial class data file distribution disk space in described disk, described Second Threshold is the disk space amount taken when operating system is normally run in described disk, is the disk space amount sum that fixed disk spatial class data file is distributed in described disk.
4. a mobile equilibrium treating apparatus for disk space, is characterized in that, comprising:
Acquisition module, for obtaining the disk remaining space amount in disk;
First delete processing module, when being less than default first threshold for the disk remaining space amount in described disk, select the data file of exceeding the time limit in erasing time constraint class data file, and/or the data file generated the earliest is deleted from the higher class data file of utilization rate between ratio constraint class data file hollow, described time-constrain class data file and described ratio constraint class data file are can the data file of shared disk remaining space; When disk remaining space amount in described disk reaches default Second Threshold, stop deleting data file;
Second delete processing module, when disk space for taking in fixed disk spatial class data file reaches pre-assigned disk space, delete the data file generated the earliest in described fixed disk spatial class data file, until the disk space that fixed disk spatial class data file takies is less than pre-assigned disk space.
5. the mobile equilibrium treating apparatus of disk space according to claim 4, it is characterized in that, described first delete processing module retrains the data file of exceeding the time limit in class data file specifically for first selecting erasing time, when disk remaining space amount in described disk does not reach default Second Threshold, retrain the class data file that between class data file hollow, utilization rate is higher from ratio and delete the data file generated the earliest, until the disk remaining space amount in described disk reaches default Second Threshold.
6. the mobile equilibrium treating apparatus of disk space according to claim 4, is characterized in that, described first threshold is the disk space amount taken when operating system is normally run in described disk;
Or, when being fixed disk spatial class data file distribution disk space in described disk, described Second Threshold is the disk space amount taken when operating system is normally run in described disk, is the disk space amount sum that fixed disk spatial class data file is distributed in described disk.
7. a disk system, is characterized in that, comprises the mobile equilibrium treating apparatus of the arbitrary described disk space of claim 4-6, and disk, and the mobile equilibrium treating apparatus of described disk space is used for carrying out mobile equilibrium process to described disk.
CN201210222700.6A 2012-06-29 2012-06-29 Dynamic balancing processing method and device for disk spaces and disk system Active CN102799395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210222700.6A CN102799395B (en) 2012-06-29 2012-06-29 Dynamic balancing processing method and device for disk spaces and disk system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210222700.6A CN102799395B (en) 2012-06-29 2012-06-29 Dynamic balancing processing method and device for disk spaces and disk system

Publications (2)

Publication Number Publication Date
CN102799395A CN102799395A (en) 2012-11-28
CN102799395B true CN102799395B (en) 2015-07-22

Family

ID=47198512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210222700.6A Active CN102799395B (en) 2012-06-29 2012-06-29 Dynamic balancing processing method and device for disk spaces and disk system

Country Status (1)

Country Link
CN (1) CN102799395B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115129664A (en) * 2022-09-01 2022-09-30 湖南兴天电子科技股份有限公司 Data recording device, data file management method and apparatus

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473343A (en) * 2013-09-23 2013-12-25 深圳市金立通信设备有限公司 File management method, device and terminal
CN104750546B (en) * 2013-12-30 2018-01-30 中国移动通信集团公司 A kind of method and system for adjusting connection pool
CN105740098A (en) * 2016-01-26 2016-07-06 浪潮(北京)电子信息产业有限公司 Determination method and system for stale data among backup data
CN106354438A (en) * 2016-09-28 2017-01-25 郑州云海信息技术有限公司 Method and device for predicting available time of capacity of storage pool
CN106406771B (en) * 2016-10-20 2019-10-11 福建天泉教育科技有限公司 Log recording method and logger
CN106527991A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Data management system and data management method for hard disk
TWI607339B (en) * 2016-12-22 2017-12-01 捷鼎國際股份有限公司 Data storage system?with file locking and unlocking function and method thereof
CN107590283B (en) * 2017-09-29 2019-12-24 浙江大华技术股份有限公司 File recovery method and device, server and computer readable storage medium
CN109062964A (en) * 2018-06-27 2018-12-21 努比亚技术有限公司 A kind of data-erasure method, terminal and computer readable storage medium
CN109597589B (en) * 2018-12-12 2020-08-11 珠海格力电器股份有限公司 Data storage method and system
CN109710188B (en) * 2018-12-24 2023-01-03 武汉烽火众智数字技术有限责任公司 Disk data management method, device, equipment and readable storage medium
CN110058810B (en) * 2019-01-17 2022-06-17 创新先进技术有限公司 Disk cleaning method and device for distributed system and distributed system
CN112181277B (en) * 2019-07-03 2022-10-04 浙江宇视科技有限公司 Data storage space management method and device, storage medium and electronic equipment
CN113268475A (en) * 2021-06-01 2021-08-17 广州欢网科技有限责任公司 Self-clearing method for clickhouse database
CN113240946B (en) * 2021-07-12 2022-03-08 天津七一二通信广播股份有限公司 Data recording method applied to GBAS ground station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0703526A2 (en) * 1994-09-22 1996-03-27 Hewlett-Packard Company Storage management system for concurrent generation and fair allocation of disk space
CN101232388A (en) * 2007-01-26 2008-07-30 中兴通讯股份有限公司 Method for distributing control stream medium data on edge stream medium server
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
CN102298506A (en) * 2010-06-24 2011-12-28 国际商业机器公司 Storage system and method for implementing the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0703526A2 (en) * 1994-09-22 1996-03-27 Hewlett-Packard Company Storage management system for concurrent generation and fair allocation of disk space
CN101232388A (en) * 2007-01-26 2008-07-30 中兴通讯股份有限公司 Method for distributing control stream medium data on edge stream medium server
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
CN102298506A (en) * 2010-06-24 2011-12-28 国际商业机器公司 Storage system and method for implementing the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李欢等.具有时间约束的数据及其处理.《中南民族学院学报(自然科学版)》.1999,第18卷(第2期),第38-41页. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115129664A (en) * 2022-09-01 2022-09-30 湖南兴天电子科技股份有限公司 Data recording device, data file management method and apparatus

Also Published As

Publication number Publication date
CN102799395A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102799395B (en) Dynamic balancing processing method and device for disk spaces and disk system
CN104636084B (en) A kind of apparatus and method of the large data of electric power being carried out to distributed store
CN103688248B (en) A kind of management method of storage array, device and controller
WO2015139061A1 (en) Ramp rate control system and methods using energy storage devices
CN102413186B (en) Resource scheduling method and device based on private cloud computing, and cloud management server
JP6520462B2 (en) Operation plan creation device for distributed energy system and operation plan creation method
CN103617007A (en) Method and system for achieving multilevel intelligent storage
CN107133182A (en) A kind of EMS memory management process and device
CN107273182A (en) A kind of resources of virtual machine dynamic expanding method and system
CN106293885B (en) Task creation, hang-up and restoration methods
CN112288596B (en) Electric power spot market operation standby modeling method and related device
CN112559186B (en) Kubernetes container resource expansion and contraction method
CN104035879A (en) Memory allocation and garbage collection method based on life-period prediction
CN104360961A (en) Object storage-based self-adaptive graded processing method and object storage-based self-adaptive graded processing system
JP2014236602A (en) Multiple purpose controller, multiple purpose control system and program of multiple storage batteries
CN107577431A (en) A kind of storage pool construction method and device
JP6451369B2 (en) Control device, power storage device, control method, and program
CN111211615B (en) Medium-voltage intelligent load control method and system for large-scale data center
CN104268104A (en) Game development memory control method and system
CN105138278A (en) Method for storing network messages of intelligent substation in bare disk
CN104571966A (en) Method for increasing configuration utilization rate of storage thin provisioning
KR20190024368A (en) System and method of controlling for integrated interconnection of distributed generation and grid
Zhao Optimal real-time scheduling of energy storage systems to accommodate PV generation in distribution networks
KR20150124023A (en) Resource Management Method and System with Clustering based on Attributes of Distributed Energy Resources
CN103475709A (en) Method and system for ectype dynamic control for cloud computing platform

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