CN106383856A - Method and device for managing file system quota - Google Patents
Method and device for managing file system quota Download PDFInfo
- Publication number
- CN106383856A CN106383856A CN201610791974.5A CN201610791974A CN106383856A CN 106383856 A CN106383856 A CN 106383856A CN 201610791974 A CN201610791974 A CN 201610791974A CN 106383856 A CN106383856 A CN 106383856A
- Authority
- CN
- China
- Prior art keywords
- file system
- usage amount
- space usage
- data
- internal memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/122—File system administration, e.g. details of archiving or snapshots using management policies
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1727—Details of free space management performed by the file system
Abstract
The invention provides a method and a device for managing a file system quota. The method for managing the file system quota comprises the following steps of: when a data revision operation for a file system is detected, obtaining a data occupation amount corresponding to the data revision operation; according to the data occupation amount and the space usage amount initial value of the file system, obtaining the space usage amount final value of the file system; and writing the space usage amount final value of the file system into a memory. By use of the method, the space usage amount final value of the file system is written into the memory instead of writing into the disk of the file system, so that operation frequencies among the disks are reduced, and the service life of the disk is prolonged. In addition, since memory access speed is much higher than disk access speed, the space usage amount final value of the file system is stored in the memory, user access delay can be lowered, and user experience is improved.
Description
Technical field
It relates to the communication technology, more particularly, to a kind of method and device of management file system quota.
Background technology
In file system, Disk Quotas (quota) is used for controlling the spendable disk space of user.In order to reach control
The purpose of user's space usage amount, the space usage amount of system each user of real time record.In the realization of traditional file systemses,
The space usage amount information of user is also written in the disk of file system itself, so, each user have write or
During deletion action, except needing processing data itself on disk in addition it is also necessary to the space that extra disk operating updates user makes
Consumption information.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of method of management file system quota and dress
Put.Described technical scheme is as follows:
According to the embodiment of the present disclosure in a first aspect, providing a kind of method of management file system quota, the method includes:
When the data modification operation to file system is detected, obtain this data modification operation corresponding data occupancy;According to number
According to the space usage amount initial value of occupancy and file system, obtain the space usage amount final value of file system;By file system
Space usage amount final value write internal memory.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When detecting to file system
During data modification operation, obtain this data modification operation corresponding data occupancy;Then, according to data occupancy and file system
The space usage amount initial value of system, obtains the space usage amount final value of this document system, and by the space usage amount of file system eventually
Value write internal memory, and the disk of write-not file system, thus reducing the number of operations between disk, extend the use longevity of disk
Life;Further, since the access speed of internal memory is far faster than disk access speeds, therefore, by the space usage amount final value of file system
It is stored in internal memory, also can reduce user's access delay, lift Consumer's Experience.
Alternatively, above-mentioned data modification operation can include:Data write operation, data deletion action, data replacement operation.
Alternatively, the above-mentioned space usage amount initial value according to data occupancy and file system, obtains the sky of file system
Between before usage amount final value, the method for this management file system quota can also include:Judge to execute this data modification operation
ID whether there is in internal memory;When ID is present in internal memory, obtain the corresponding file system of ID
Space usage amount initial value.
Alternatively, said method can also include:When ID is not present in internal memory, internal memory generates user
Mark, the corresponding relation of the space usage amount initial value of the corresponding Disk Quotas of ID and file system, and by ID
The space usage amount initial value of corresponding file system is set to 0.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:First determine whether whether deposit in internal memory
In the ID of execution data modification operation, if there is not the ID of execution data modification operation in internal memory, including
Deposit the corresponding pass of the middle space usage amount initial value adding this ID, the corresponding Disk Quotas of this ID and file system
System, thus ensure the sky of this ID this ID corresponding, the corresponding Disk Quotas of this ID and file system
Between the corresponding relation of usage amount initial value be present in internal memory, to facilitate follow-up data modification operation.
Alternatively, said method can also include:When terminal starts, obtain ID, the corresponding literary composition of ID
The space usage amount initial value of part system and Disk Quotas;ID, the corresponding file system of ID is set up in internal memory
Space usage amount initial value and Disk Quotas corresponding relation.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When terminal starts, by user
The corresponding relation of mark, the space usage amount initial value of the corresponding file system of ID and Disk Quotas is saved in internal memory,
To facilitate follow-up data modification operation.
Alternatively, above-mentioned data modification operation is data write operation, the above-mentioned sky according to data occupancy and file system
Between usage amount initial value, obtain the space usage amount final value of file system, including:Obtain user's mark of execution data modification operation
Know;The space usage amount initial value of the corresponding file system of this ID in internal memory is added with above-mentioned data occupancy, obtains
First value preset;If the first value preset is less than or equal to the corresponding Disk Quotas of this ID in internal memory, data modification is grasped
Make corresponding data write file system;By the space usage amount initial value of the corresponding file system of this ID in internal memory and data
Occupancy is added, and obtains the first value preset, as the space usage amount final value of above-mentioned file system;If the first value preset is less than or waits
The corresponding Disk Quotas of this ID in internal memory, then write file system by this data modification operation corresponding data.
Correspondingly, the above-mentioned space usage amount final value write internal memory by file system, including:By this ID in internal memory
The space usage amount initial value of corresponding file system is updated to the first value preset, wherein, the ID that is stored with internal memory, file system
The space usage amount initial value of system and the corresponding relation of Disk Quotas.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When there being new data write, lead to
Cross the space usage amount initial value updating the corresponding file system of ID executing data write operation in internal memory, it is to avoid this is used
The space usage amount initial value that family identifies corresponding file system is also written in the disk of file system itself, reduces to disk
Number of operations simultaneously extends the service life of disk;Further, since the access speed of internal memory is far faster than disk access speeds, therefore,
User's access delay also can be reduced, lift Consumer's Experience.
Alternatively, above-mentioned obtain the first value preset after, the method can also include:Should if the first value preset is more than in internal memory
The corresponding Disk Quotas of ID, then terminate data modification operation flow process;The information that display memory space transfinites.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:By what memory space was transfinited
Presentation of information, to user, can lift Consumer's Experience further;Meanwhile, the information that user can be transfinited according to this memory space is to literary composition
File in part system carries out selectively removing or changes the operation such as position, so that the smooth execution of subsequent write operation.
According to the second aspect of the embodiment of the present disclosure, provide a kind of device of management file system quota, this device includes:
Detection module, for detecting whether there is the data modification operation to file system;First acquisition module, is coupled with detection module,
During for the data modification operation to file system is detected in detection module, obtain the corresponding data of this data modification operation and account for
Consumption;Processing module, is coupled with the first acquisition module, for the data occupancy and the file system that are obtained according to the first acquisition module
The space usage amount initial value of system, obtains the space usage amount final value of this document system;Writing module, is coupled with processing module, uses
Space usage amount final value write internal memory in the file system obtaining processing module.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When detecting to file system
During data modification operation, obtain this data modification operation corresponding data occupancy;Then, according to data occupancy and file system
The space usage amount initial value of system, obtains the space usage amount final value of this document system, and by the space usage amount of file system eventually
Value write internal memory, and the disk of write-not file system, thus reducing the number of operations between disk, extend the use longevity of disk
Life;Further, since the access speed of internal memory is far faster than disk access speeds, therefore, by the space usage amount final value of file system
It is stored in internal memory, also can reduce user's access delay, lift Consumer's Experience.
Alternatively, above-mentioned data modification operation can include:Data write operation, data deletion action, data replacement operation.
Alternatively, said apparatus can also include:Judge module, is coupled with detection module, for processing module according to
Data occupancy and the space usage amount initial value of file system, before obtaining the space usage amount final value of file system, judge to hold
The ID of row data modification operation whether there is in internal memory;Second acquisition module, with judge module and processing module coupling
Connect, for when judge module determines that ID is present in internal memory, obtaining the space of the corresponding file system of ID
Usage amount initial value.
Alternatively, said apparatus can also include:First corresponding relation generation module, with judge module and processing module coupling
Connect, for when ID is not present in internal memory, generating this ID, the corresponding disk of this ID in internal memory
The corresponding relation of the space usage amount initial value of quota and file system, and the space of corresponding for this ID file system is made
Consumption initial value is set to 0.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:First determine whether whether deposit in internal memory
In the ID of execution data modification operation, if there is not the ID of execution data modification operation in internal memory, including
Deposit the corresponding pass of the middle space usage amount initial value adding this ID, the corresponding Disk Quotas of this ID and file system
System, thus ensure the sky of this ID this ID corresponding, the corresponding Disk Quotas of this ID and file system
Between the corresponding relation of usage amount initial value be present in internal memory, to facilitate follow-up data modification operation.
Alternatively, said apparatus can also include:3rd acquisition module, for when terminal starts, obtain ID,
The space usage amount initial value of the corresponding file system of ID and Disk Quotas;Second corresponding relation generation module, with the 3rd
Acquisition module couples, for setting up the space usage amount initial value of ID, the corresponding file system of ID in internal memory
And the corresponding relation of Disk Quotas.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When terminal starts, by user
The corresponding relation of mark, the space usage amount initial value of the corresponding file system of ID and Disk Quotas is saved in internal memory,
To facilitate follow-up data modification operation.
Alternatively, above-mentioned data modification operation is data write operation, and processing module can include:Acquisition submodule, is used for
Obtain the ID of execution data modification operation;Process submodule, couple with acquisition submodule, for marking user in internal memory
The space usage amount initial value knowing corresponding file system is added with data occupancy, obtains the first value preset, as above-mentioned file system
The space usage amount final value of system;Write submodule, couples with processing submodule, for being less than or equal in internal memory in the first value preset
During the corresponding Disk Quotas of ID, data modification operation corresponding data is write file system.
Correspondingly, above-mentioned writing module, couples with processing submodule, for by the corresponding file of this ID in internal memory
The space usage amount initial value of system is updated to the first value preset.Wherein, be stored with internal memory ID, the space of file system makes
Consumption initial value and the corresponding relation of Disk Quotas.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:When there being new data write, lead to
Cross the space usage amount initial value updating the corresponding file system of ID executing data write operation in internal memory, it is to avoid this is used
The space usage amount initial value that family identifies corresponding file system is also written in the disk of file system itself, reduces to disk
Number of operations simultaneously extends the service life of disk;Further, since the access speed of internal memory is far faster than disk access speeds, therefore,
User's access delay also can be reduced, lift Consumer's Experience.
Alternatively, above-mentioned processing module can also include:Terminate operation submodule, with process submodule couple, for
When first value preset is more than the corresponding Disk Quotas of ID described in internal memory, terminate data modification operation flow process;Display submodule
Block, couples with processing submodule, for showing the information that memory space transfinites.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:By what memory space was transfinited
Presentation of information, to user, can lift Consumer's Experience further;Meanwhile, the information that user can be transfinited according to this memory space is to literary composition
File in part system carries out selectively removing or changes the operation such as position, so that the smooth execution of subsequent write operation.
According to the third aspect of the embodiment of the present disclosure, provide a kind of device of management file system quota, including:Processor
With the memory for storing processor executable.Wherein, processor is repaiied for the data to file system is detected
When changing operation, obtain data modification operation corresponding data occupancy;Used according to the space of data occupancy and file system
Amount initial value, obtains the space usage amount final value of this document system;Space usage amount final value write internal memory by this document system.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement meeting the disclosure
Example, and be used for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart of a kind of method of management file system quota according to an exemplary embodiment;
Fig. 2 is the flow chart of the method implementing a kind of management file system quota exemplifying according to another exemplary;
Fig. 3 is the flow chart of a kind of method of management file system quota according to another exemplary embodiment;
Fig. 4 is the flow chart of a kind of method of management file system quota according to further example embodiment;
Fig. 5 is a kind of device block diagram of the management file system quota according to an exemplary embodiment;
Fig. 6 is a kind of device block diagram of the management file system quota implementing to exemplify according to another exemplary;
Fig. 7 is a kind of device block diagram of the management file system quota according to another exemplary embodiment;
Fig. 8 is a kind of device block diagram of the management file system quota according to further example embodiment;
Fig. 9 is a kind of device block diagram of the management file system quota according to further example embodiment.
By above-mentioned accompanying drawing it has been shown that the clear and definite embodiment of the disclosure, hereinafter will be described in more detail.These accompanying drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but by reference to specific embodiment be
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Term " first " in the specification and claims of the disclosure, " second ", " the 3rd ", etc. be for distinguishing class
As object, without for describing specific order or precedence.It should be appreciated that such data using is in suitable situation
Under can exchange so that embodiment of the disclosure described herein for example can with except here illustrate or description those with
Outer order is implemented.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover non-exclusive bag
Contain, for example, contain what process, method, system, product or the equipment of series of steps or unit were not necessarily limited to clearly to list
Those steps or unit, but may include clearly not listing or intrinsic for these processes, method, product or equipment
Other steps or unit.
First the noun involved by the embodiment of the present disclosure is explained:
File system:File system is that operating system is used for clear and definite storage device (commonly disk also has based on NAND
The solid state hard disc of flash memory) or subregion on file method data structure;The i.e. method of constituent act on a storage device.Behaviour
Make to be responsible in system to be referred to as file management system, abbreviation file system with the software mechanism of storage file information.From system
From the point of view of angle, file system is that the space to file-storage device is organized and distributed, responsible file storage to being stored in
The system that file is protected and retrieved.Specifically, it is responsible for user and sets up file, be stored in, read, changing, dump literary composition
Part, controls the access of file, revocation file etc. when user does not use.
Disk Quotas:For limiting the disk resource that user can use." ID " herein corresponds to user, can
To be unique user or a user's group, this user's group may include multiple users.
Fig. 1 is the flow chart of a kind of method of management file system quota according to an exemplary embodiment.This reality
Applying example provides a kind of method of management file system quota, and the method is applied in the device manage file system quota, this dress
Putting can be terminal, and such as, terminal is desktop computer, notebook computer, panel computer, smart mobile phone etc..As shown in figure 1, should
Method comprises the following steps:
In a step 101, when the data modification operation to file system is detected, obtain this data modification operation and correspond to
Data occupancy.
In actual applications, terminal continues or whether discontinuity detection has the data modification that file system in this terminal is carried out
Operation.Wherein, this data modification operation can include:Data write operation, data deletion action data replacement operation etc..
When terminal detects the data modification operation to file system, obtain the corresponding data of this data modification operation and account for
Consumption.
Data modification operation is directed to data in file system and modifies, and for example, data write operation is in file system
New write data;Data deletion action is to delete already present data in file system;Data replacement operation is by file system
In already present data be replaced using new data, therefore, all corresponding data of various types of data modification operation takies
Amount, wherein, data write operation corresponding data occupancy is the size newly writing data;The corresponding data of data deletion action accounts for
Consumption is the size of data to be deleted;Data replacement operation corresponding data occupancy will be replaced with this new data for new data
Both data size difference.
In a step 102, the space usage amount initial value according to data occupancy and file system, obtains this document system
Space usage amount final value.
Wherein, the space usage amount initial value of file system is the space usage amount shared by data in current this document system
Size.The space usage amount initial value of this document system is stored in internal memory, and terminal reads from internal memory and can obtain its concrete numerical value.
In this step, the space usage amount final value of file system is by the space usage amount of data occupancy and file system
Initial value carries out plus and minus calculation acquisition.Selection as add operation and subtraction is to be grasped according to data modification in step 101
The type made determines.
For example, data modification operation is data write operation, then the space usage amount final value of file system is data occupancy
With the space usage amount initial value of file system and, i.e. add operation;Data modification operation is data deletion action, then file system
The space usage amount final value of system is the difference with data occupancy for the space usage amount initial value of file system, i.e. subtraction.
In step 103, by the space usage amount final value write internal memory of file system.
In sum, the method for the management file system quota that the present embodiment provides, when detecting the number to file system
According to during modification operation, obtain this data modification operation corresponding data occupancy;Then, according to data occupancy and file system
Space usage amount initial value, obtain the space usage amount final value of this document system, and the space usage amount final value by file system
Write internal memory, and the disk of write-not file system, thus reducing the number of operations between disk, extend the use longevity of disk
Life;Further, since the access speed of internal memory is far faster than disk access speeds, therefore, by the space usage amount final value of file system
It is stored in internal memory, also can reduce user's access delay, lift Consumer's Experience.
Fig. 2 is the flow chart of the method implementing a kind of management file system quota exemplifying according to another exemplary.As
Shown in Fig. 2, on the basis of flow process shown in Fig. 1, before step 102, the method for this management file system quota can also be wrapped
Include:
In step 201, judge that the ID of execution data modification operation whether there is in internal memory.
When this ID is present in internal memory, execution step 202, step 102 and step 103;When this ID
When being not present in internal memory, execution step 203, step 102 and step 103.
In step 202., obtain the space usage amount initial value of the corresponding file system of ID.
In step 203, this ID, the corresponding Disk Quotas of this ID and file system are generated in internal memory
Space usage amount initial value corresponding relation, and the space usage amount initial value of corresponding for this ID file system is set to
0.
In this step, because this ID does not exist in internal memory, therefore, this secondary data modification operation is this user mark
Know the data modification operation first to this document system, therefore generate this ID, this ID correspondence first in internal memory
Disk Quotas and file system space usage amount initial value corresponding relation;In addition, before data modification operation explanation first
The corresponding data of this ID is not stored, therefore, in above-mentioned newly-generated corresponding relation, by this user in this document system
The space usage amount initial value identifying corresponding file system is set to 0.
Wherein, ID can by User logs in terminal when the login name that used, login name such as keeper
(Administrators), founder (CREATOR OWNER), user 1 (User1), etc., the disclosure is refused to limit.
Disk Quotas is the at most spendable storage resource of this ID, the commonly referred to as hard quota in space.Same user
Mark corresponding Disk Quotas in different scenes may be the same or different.For example, for single user file system, ID is
The Disk Quotas of " keeper " is " unrestricted ";For multi-user's file system, ID is the Disk Quotas of " keeper "
For " certain fixed value ", this fixed value is less than the corresponding Disk Quotas of whole file system.
In addition, the correspondence of the space usage amount initial value of the corresponding Disk Quotas of ID, ID and file system
Relation can be specially a kind of form as shown in table 1 or other forms.In Table 1, ID includes User1 and User2,
Wherein, the space usage amount initial value of the corresponding file system of User1 is M1, the corresponding Disk Quotas of User1 is P1;User2 corresponds to
File system space usage amount initial value be M2, the corresponding Disk Quotas of User1 is P2.It should be noted that, M1, P1, M2And P2
It is all higher than or be equal to 0.This implementation clearly appears from ID, ID corresponding file system in the form of corresponding relation
Relation between the space usage amount initial value of system and Disk Quotas three.
Table 1
ID | The space usage amount initial value of file system | Disk Quotas |
User1 | M1 | P1 |
User2 | M2 | P2 |
In sum, the method for the management file system quota that the present embodiment provides, first determines whether to whether there is in internal memory
, if there is not the ID of execution data modification operation in internal memory, in internal memory in the ID of execution data modification operation
The corresponding pass of the middle space usage amount initial value adding this ID, the corresponding Disk Quotas of this ID and file system
System, thus ensure the sky of this ID this ID corresponding, the corresponding Disk Quotas of this ID and file system
Between the corresponding relation of usage amount initial value be present in internal memory, to facilitate follow-up data modification operation.
Based on above-described embodiment it is contemplated that terminal when closed, can remove the data in internal memory, therefore, start in terminal
When, need to be by the corresponding pass of the space usage amount initial value of above-mentioned ID, the corresponding Disk Quotas of ID and file system
System reloads to internal memory.
Therefore, alternatively, the method for this management file system quota can also include:When terminal starts, obtain user
Mark, the space usage amount initial value of the corresponding file system of ID and Disk Quotas;ID, use is set up in internal memory
The family mark space usage amount initial value of corresponding file system and the corresponding relation of Disk Quotas.
Wherein, file system includes multiple files.In terminal start-up course, travel through All Files one by one, obtain each
The size of file and the ID creating this document, you can the statistics corresponding all of file size of same ID, obtain
Space usage amount initial value to the corresponding file system of this ID.In addition, comprise each ID in configuration file corresponding to
Disk Quotas, read configuration file can obtain the corresponding Disk Quotas of each ID.Here, one kind is provided specifically to obtain
Take the space usage amount initial value of the corresponding file system of ID, ID and the implementation of Disk Quotas, but this public affairs
Open the system of being not limited, those skilled in the art can also obtain ID by other implementations, ID corresponds to
The space usage amount initial value of file system and Disk Quotas.
In sum, the method for the management file system quota that the present embodiment provides, when terminal starts, user is marked
The corresponding relation of knowledge, the space usage amount initial value of the corresponding file system of ID and Disk Quotas is saved in internal memory, with
Facilitate follow-up data modification operation.
Pipe below, to disclosure offer taking data modification operation respectively data write operation data deletion action as a example
The method of reason file system quota is described in detail.
Data modification operation is data write operation
Fig. 3 is the flow chart of a kind of method of management file system quota according to another exemplary embodiment.As
Shown in Fig. 3, the method can include following step:
In step 301, when the data modification operation to file system is detected, obtain this data modification operation and correspond to
Data occupancy.
, with step 101, here is omitted for this step.
In step 302, obtain the ID of execution data modification operation.
When file system is only for unique user, this step can be omitted.
In step 303, by the space usage amount initial value of the corresponding file system of this ID in internal memory and above-mentioned number
It is added according to occupancy, obtain the first value preset, as the space usage amount final value of file system.
Because the space usage amount leading to file system is increased by data write operation, therefore, write in known this data of execution
After the ID of operation, calculate at the beginning of the space usage amount of the corresponding file system of ID executing this data write operation
Value data occupancy sum, obtains the first value preset, as the space usage amount final value of file system.
Further, judge this first value preset with execute this data write operation the corresponding Disk Quotas of ID big
Little.
In step 304, if the first value preset is less than or equal to the corresponding Disk Quotas of this ID in internal memory, will
This data modification operation corresponding data writes file system.
Wherein, the first value preset is less than or equal to the corresponding Disk Quotas of this ID in internal memory, and current residual is described
(the corresponding Disk Quotas of ID executing this data write operation deducts the corresponding file of this ID to storage size
The space usage amount initial value of system) this data write operation corresponding data enough write, therefore, this data modification operation is corresponded to
Data writes file system.
Correspondingly, in step 305, by the space usage amount initial value of the corresponding file system of this ID in internal memory more
It is newly the first value preset.
That is, the above-mentioned space usage amount final value write internal memory by file system, can include:By this use in internal memory
The space usage amount initial value that family identifies corresponding file system is updated to the first value preset.
Wherein, the corresponding of ID, the space usage amount initial value of file system and Disk Quotas that be stored with internal memory is closed
System.
Alternatively, above-mentioned steps 304 can also be:If the first value preset is more than the corresponding magnetic of this ID in internal memory
Disk quota, then terminate data modification operation flow process;The information that display memory space transfinites.Now, no longer execution step 305.
Wherein, the first value preset is more than the corresponding Disk Quotas of this ID in internal memory, illustrates that the storage of current residual is empty
Between size (the corresponding Disk Quotas of ID executing this data write operation deducts the corresponding file system of this ID
Space usage amount initial value) it is not enough to support the write of this data write operation corresponding data, therefore, terminal terminates data modification operation
Flow process.In the case of being somebody's turn to do, in internal memory, the space usage amount initial value of the corresponding file system of this ID keeps constant.
In sum, the method for the management file system quota that the present embodiment provides, when there being new data write, by more
Execute the space usage amount initial value of the corresponding file system of ID of data write operation, it is to avoid this user is marked in new internal memory
The space usage amount initial value knowing corresponding file system is also written in the disk of file system itself, reduces the operation to disk
Number of times simultaneously extends the service life of disk;Further, since the access speed of internal memory, far faster than disk access speeds, therefore, also may be used
Reduce user's access delay, lift Consumer's Experience;Further, presentation of information memory space being transfinited is to user, Ke Yijin
One step lifting Consumer's Experience, and, user can select to the file in file system according to the information that this memory space transfinites
Property delete or change the operation such as position, so that the smooth execution of subsequent write operation.
Data modification operation is data deletion action
Fig. 4 is the flow chart of a kind of method of management file system quota according to further example embodiment.As
Shown in Fig. 4, the method can include following step:
In step 401, when the data modification operation to file system is detected, obtain this data modification operation and correspond to
Data occupancy.
, with step 101, here is omitted for this step.
In step 402, delete the corresponding data of data modification operation.
For this step, it will be understood by those skilled in the art that because data deletion action will lead to the sky of file system
Between usage amount reduce, be not related to the problem that memory space transfinites, therefore, terminal directly executes data deletion action.
In step 403, by the space of the corresponding file system of the ID executing this data deletion action in internal memory
Usage amount initial value deducts above-mentioned data occupancy, obtains the first difference, as the space usage amount final value of file system.
In step 404, the space usage amount initial value of the corresponding file system of this ID in internal memory is updated to
One difference.
This step is used for updating the space of the corresponding file system of ID executing this data modification operation in internal memory
Usage amount initial value.
In sum, the method for the management file system quota that the present embodiment provides, when deleting data, in updating
Deposit the space usage amount initial value of the corresponding file system of ID of middle execution data deletion action, rather than by this ID
The space usage amount initial value of corresponding file system is written in the disk of file system, thus reducing the operation to disk time
Number, extends the service life of disk;Further, since the access speed of internal memory, far faster than disk access speeds, therefore, also can reduce
User's access delay, lifts Consumer's Experience.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.Real for disclosure device
Apply the details not disclosed in example, refer to method of disclosure embodiment.
Fig. 5 is a kind of device block diagram of the management file system quota according to an exemplary embodiment.The disclosure is real
Applying example provides a kind of device of management file system quota, and the device of this management file system quota can be terminal.Reference picture
5, the device 50 of this management file system quota includes detection module 11, the first acquisition module 12, processing module 13 and write mould
Block 14.
This detection module 11, for detecting whether there is the data modification operation to file system.
This first acquisition module 12, is coupled with detection module 11, for detecting to file system in detection module 11
During data modification operation, obtain this data modification operation corresponding data occupancy.
This processing module 13, couples 12 with the first acquisition module, for being accounted for according to the data that the first acquisition module 12 obtains
Consumption and the space usage amount initial value of file system, obtain the space usage amount final value of this document system.
This writing module 14, is coupled with processing module 13, and the space of the file system for obtaining processing module 13 makes
Consumption final value writes internal memory.
In sum, the device of the management file system quota that the present embodiment provides, when detecting the number to file system
According to during modification operation, obtain this data modification operation corresponding data occupancy;Then, according to data occupancy and file system
Space usage amount initial value, obtain the space usage amount final value of this document system, and the space usage amount final value by file system
Write internal memory, and the disk of write-not file system, thus reducing the number of operations between disk, extend the use longevity of disk
Life;Further, since the access speed of internal memory is far faster than disk access speeds, therefore, by the space usage amount final value of file system
It is stored in internal memory, also can reduce user's access delay, lift Consumer's Experience.
Alternatively, above-mentioned data modification operation can include:Data write operation, data deletion action, data replacement operation.
Fig. 6 is a kind of device block diagram of the management file system quota implementing to exemplify according to another exemplary.Reference picture
6, on the basis of structure shown in Fig. 5, the device 60 of management file system quota can also include:Judge module 21 and second obtains
Delivery block 22.
Judge module 21, is coupled with detection module 11, in processing module 13 according to data occupancy and file system
Space usage amount initial value, before obtaining the space usage amount final value of file system, judge execution data modification operation user
Identify whether to be present in internal memory.
This second acquisition module 22, is coupled with judge module 21 and processing module 13, uses for determining in judge module 21
When family mark is present in internal memory, obtain the space usage amount initial value of the corresponding file system of ID.
Alternatively, the device 60 of this management file system quota can also include:First corresponding relation generation module 23.
This first corresponding relation generation module 23, is coupled with judge module 21 and processing module 13, in ID
When being not present in internal memory, internal memory generates this ID, the corresponding Disk Quotas of this ID and file system
The corresponding relation of space usage amount initial value, and the space usage amount initial value of corresponding for this ID file system is set to 0.
In sum, the device of the management file system quota that the present embodiment provides, first determines whether to whether there is in internal memory
, if there is not the ID of execution data modification operation in internal memory, in internal memory in the ID of execution data modification operation
The corresponding pass of the middle space usage amount initial value adding this ID, the corresponding Disk Quotas of this ID and file system
System, thus ensure the sky of this ID this ID corresponding, the corresponding Disk Quotas of this ID and file system
Between the corresponding relation of usage amount initial value be present in internal memory, to facilitate follow-up data modification operation.
Fig. 7 is a kind of device block diagram of the management file system quota according to another exemplary embodiment.Reference picture
7, on the basis of structure shown in Fig. 5, the device 70 of this management file system quota can also include:3rd acquisition module 31 He
Second corresponding relation generation module 32.
3rd acquisition module 31, for when terminal starts, obtaining ID, the corresponding file system of ID
Space usage amount initial value and Disk Quotas.
This second corresponding relation generation module 32, couples 31 with the 3rd acquisition module, for setting up user's mark in internal memory
Knowledge, the space usage amount initial value of the corresponding file system of ID and the corresponding relation of Disk Quotas.
This embodiment when terminal starts, by the beginning of ID, the space usage amount of the corresponding file system of ID
The corresponding relation of value and Disk Quotas is saved in internal memory, to facilitate follow-up data modification operation.
Fig. 8 is a kind of device block diagram of the management file system quota according to further example embodiment.Reference picture
8, on the basis of structure shown in Fig. 5, in the device 80 of management file system quota, processing module 13 can include:Obtain
Submodule 81, process submodule 82 and write submodule 83.
In this embodiment, data modification operation is data write operation.
This acquisition submodule 81, for obtaining the ID of execution data modification operation.
This process submodule 82, is coupled with acquisition submodule 81, for by corresponding for ID in internal memory file system
Space usage amount initial value be added with data occupancy, obtain the first value preset, as above-mentioned file system space usage amount eventually
Value.
This write submodule 83, couples with processing submodule 82, for being less than or equal to user in internal memory in the first value preset
When identifying corresponding Disk Quotas, data modification operation corresponding data is write file system.
Correspondingly, writing module 14, couple with processing submodule 82, for by the corresponding file of this ID in internal memory
The space usage amount initial value of system is updated to the first value preset.Wherein, be stored with internal memory ID, the space of file system makes
Consumption initial value and the corresponding relation of Disk Quotas.
This embodiment is when there being new data write, corresponding by updating the ID executing data write operation in internal memory
The space usage amount initial value of file system, it is to avoid by the space usage amount initial value of corresponding for this ID file system itself
It is written in the disk of file system, reduce the number of operations to disk and extend the service life of disk;Further, since internal memory
Access speed far faster than disk access speeds, therefore, also can reduce user's access delay, lift Consumer's Experience.
Alternatively, processing module 13 can also include:Terminate operation submodule 84 and display sub-module 85.
This termination operates submodule 84, couples with processing submodule 82, for being more than this user in internal memory in the first value preset
When identifying corresponding Disk Quotas, terminate data modification operation flow process.
This display sub-module 85, couples 82 with processing submodule, for showing the information that memory space transfinites.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:By what memory space was transfinited
Presentation of information, to user, can lift Consumer's Experience further;Meanwhile, the information that user can be transfinited according to this memory space is to literary composition
File in part system carries out selectively removing or changes the operation such as position, so that the smooth execution of subsequent write operation.
Fig. 9 is a kind of device block diagram of the management file system quota according to further example embodiment.Reference picture
9, the device 800 of management file system quota can include following one or more assemblies:Process assembly 802, memory 804,
Power supply module 806, multimedia groupware 808, audio-frequency assembly 810, input/output (input/output, referred to as:I/O interface)
812, sensor cluster 814, and communication component 816.
Process assembly 802 generally controls the integrated operation of the device 800 of management file system quota, such as with display, number
According to communication, camera operation and record operate associated operation.Process assembly 802 can include one or more processors 820
Carry out execute instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or many
Individual module, is easy to the interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multimedia mould
Block, to facilitate the interaction between multimedia groupware 808 and process assembly 802.
Memory 804 is used for storing various types of data to support the behaviour of the device 800 in management file system quota
Make.The example of these data is included for any application program of operation or side on the device 800 of management file system quota
The instruction of method, contact data, telephone book data, message, picture, video etc..Memory 804 can be by any kind of volatile
Property or non-volatile memory device or combinations thereof realize, such as static RAM (Static Random
Access Memory, referred to as:SRAM), Electrically Erasable Read Only Memory (Electrically Erasable
Programmable Read-Only Memory, referred to as:EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable
Programmable Read Only Memory, referred to as:EPROM), programmable read only memory (Programmable Red-
Only Memory, referred to as:PROM), read-only storage (Read-Only Memory, referred to as:ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 806 provides electric power for the various assemblies managing the device 800 of file system quota.Power supply module 806
Power-supply management system can be included, one or more power supplys, and other with for manage file system quota device 800 generate,
Manage and distribute the assembly that electric power is associated.
Multimedia groupware 808 includes the offer one between the device 800 of described management file system quota and user
The screen of output interface.In certain embodiments, screen can include liquid crystal display (Liquid Crystal Display,
Referred to as:LCD) and touch panel (Touch Panel, referred to as:TP).If screen includes touch panel, screen can be implemented
For touch-screen, it is derived from the input signal of user with reception.Touch panel include one or more touch sensors with sensing touch,
Slide and the gesture on touch panel.Described touch sensor can not only sensing touch or sliding action border, but also
The detection duration related to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 includes
One front-facing camera and/or post-positioned pick-up head.When the device 800 of management file system quota is in operator scheme, such as shoot
When pattern or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each is preposition to take the photograph
As head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is used for output and/or input audio signal.For example, audio-frequency assembly 810 includes a microphone
(Microphone, referred to as:MIC), when the device 800 of management file system quota is in operator scheme, such as call model, record
When pattern and speech recognition mode, microphone is used for receiving external audio signal.The audio signal being received can be further
It is stored in memory 804 or send via communication component 816.In certain embodiments, audio-frequency assembly 810 also includes one and raises one's voice
Device, for exports audio signal.
, for providing interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 812
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, provides for the device 800 for managing file system quota
The state estimation of various aspects.For example, sensor cluster 814 can detect beating of the device 800 of management file system quota
Opening/closing state, the relative positioning of assembly, for example described assembly be management file system quota the display of device 800 and
Keypad, sensor cluster 814 can be with the dress of the device 800 of detection management file system quota or management file system quota
The position putting 800 1 assemblies changes, and user is presence or absence of with what the device 800 of management file system quota contacted, pipe
The temperature change of the device 800 of device 800 orientation of reason file system quota or acceleration/deceleration and management file system quota.
Sensor cluster 814 can include proximity transducer, is configured to object near the detection when not having any physical contact
Presence.Sensor cluster 814 can also include optical sensor, such as complementary metal oxide semiconductors (CMOS) (Complementary
Metal Oxide Semiconductor, referred to as:CMOS) or charge coupled cell (Charge-coupled Device, letter
Claim:CCD) photosensitive imaging element, for using in imaging applications.In certain embodiments, this sensor cluster 814 is acceptable
Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is wired or wireless between the device 800 of management file system quota and other equipment for being easy to
The communication of mode.The device 800 of management file system quota can access the wireless network based on communication standard, such as Wireless Fidelity
(Wireless-Fidelity, referred to as:Wi-Fi), 2G or 3G, or combinations thereof.In one exemplary embodiment, communicate
Assembly 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.Show at one
Example property embodiment in, described communication component 816 also include near-field communication (Near Field Communication, referred to as:NFC)
Module, to promote junction service.For example, RF identification (Radio Frequency can be based in NFC module
Identification, referred to as:RFID) technology, and Infrared Data Association (Infrared Data Association, referred to as:
IrDA) technology, and ultra broadband (Ultra Wideband, referred to as:UWB) technology, and bluetooth (Bluetooth, referred to as:BT) technology and its
His technology is realizing.
In the exemplary embodiment, the device 800 of management file system quota can be by one or more application specific collection
One-tenth circuit (Application Specific Integrated Circuit, referred to as:ASIC), digital signal processor
(Digital Signal Processor, referred to as:DSP), digital signal processing appts (Digital Signal
Processing Device, referred to as:DSPD), PLD (Programmable Logic Device, referred to as:
PLD), field programmable gate array (Field Programmable Gate Array, referred to as:FPGA), controller, microcontroller
Device, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As include instruct memory 804, above-mentioned instruction can by management file system quota device 800 processor 820 execute with
Complete said method.For example, described non-transitorycomputer readable storage medium can be ROM, random access memory
(Random Access Memory, referred to as:RAM), read-only optical disc (Compact Disc Read-Only Memory, referred to as:
CD-ROM), tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is joined by managing file system
So that the device of management file system quota is able to carry out a kind of management file system quota during the computing device of the device of volume
Method, methods described includes:When the data modification operation to file system is detected, obtain data modification operation corresponding
Data occupancy;According to the space usage amount initial value of data occupancy and file system, obtain the space usage amount of file system
Final value;Space usage amount final value write internal memory by file system.
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following
Claims are pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appending claims
System.
Claims (15)
1. a kind of method of management file system quota is it is characterised in that methods described includes:
When the data modification operation to file system is detected, obtain described data modification operation corresponding data occupancy;
According to the space usage amount initial value of described data occupancy and described file system, the space obtaining described file system makes
Consumption final value;
Space usage amount final value write internal memory by described file system.
2. method according to claim 1 is it is characterised in that described data modification operation includes:Data write operation, data
Deletion action, data replacement operation.
3. method according to claim 1 it is characterised in that described according to described data occupancy and described file system
Space usage amount initial value, before obtaining the space usage amount final value of described file system, methods described also includes:
Judge that the ID executing described data modification operation whether there is in internal memory;
When described ID is present in internal memory, the space obtaining the corresponding described file system of described ID uses
Amount initial value.
4. method according to claim 3 is it is characterised in that methods described also includes:
When described ID is not present in internal memory, internal memory generates described ID, described ID corresponds to
Disk Quotas and file system space usage amount initial value corresponding relation, and by corresponding for described ID file system
Space usage amount initial value be set to 0.
5. method according to any one of claim 1 to 4 is it is characterised in that methods described also includes:
When terminal starts, obtain ID, the space usage amount initial value of the corresponding file system of ID and disk and join
Volume;
The right of ID, the space usage amount initial value of the corresponding file system of ID and Disk Quotas is set up in internal memory
Should be related to.
6. the method according to any one of claim 2 to 4 is it is characterised in that described data modification operation is described number
According to write operation, the described space usage amount initial value according to described data occupancy and described file system, obtain described file system
The space usage amount final value of system, including:
Obtain the ID executing described data modification operation;
The space usage amount initial value of corresponding for ID described in internal memory file system is added with described data occupancy, obtains
To the first value preset, as the space usage amount final value of described file system;
If described first value preset is less than or equal to the corresponding Disk Quotas of ID described in internal memory, described data is repaiied
Change operation corresponding data write file system;
Correspondingly, the described space usage amount final value write internal memory by described file system, including:
The space usage amount initial value of corresponding for ID described in internal memory file system is updated to described first value preset, its
In, the ID that is stored with internal memory, the space usage amount initial value of file system and the corresponding relation of Disk Quotas.
7. method according to claim 6 it is characterised in that described obtain the first value preset after, methods described also includes:
If described first value preset is more than the corresponding Disk Quotas of ID described in internal memory, terminate described data modification behaviour
Make flow process;
The information that display memory space transfinites.
8. a kind of device of management file system quota is it is characterised in that described device includes:
Detection module, for detecting whether there is the data modification operation to file system;
First acquisition module, is coupled with described detection module, for the data to file system is detected in described detection module
During modification operation, obtain described data modification operation corresponding data occupancy;
Processing module, is coupled with described first acquisition module, for being accounted for according to the described data that described first acquisition module obtains
Consumption and the space usage amount initial value of described file system, obtain the space usage amount final value of described file system;
Writing module, is coupled with described processing module, and the space of the described file system for obtaining described processing module makes
Consumption final value writes internal memory.
9. device according to claim 8 is it is characterised in that described data modification operation includes:Data write operation, data
Deletion action, data replacement operation.
10. device according to claim 8 is it is characterised in that described device also includes:
Judge module, is coupled with described detection module, in described processing module according to described data occupancy and described literary composition
The space usage amount initial value of part system, before obtaining the space usage amount final value of described file system, judges to execute described data
The ID of modification operation whether there is in internal memory;
Second acquisition module, is coupled with described judge module and described processing module, described for determining in described judge module
When ID is present in internal memory, obtain the space usage amount initial value of the corresponding described file system of described ID.
11. devices according to claim 10 are it is characterised in that described device also includes:
First corresponding relation generation module, is coupled with described judge module and described processing module, in described ID
When being not present in internal memory, internal memory generates described ID, the corresponding Disk Quotas of described ID and file system
The corresponding relation of the space usage amount initial value of system, and the space usage amount initial value of corresponding for described ID file system is set
It is set to 0.
12. devices any one of according to Claim 8 to 11 are it is characterised in that described device also includes:
3rd acquisition module, for when terminal starts, obtaining ID, the space of the corresponding file system of ID makes
Consumption initial value and Disk Quotas;
Second corresponding relation generation module, is coupled with described 3rd acquisition module, for setting up ID, user in internal memory
Identify the space usage amount initial value of corresponding file system and the corresponding relation of Disk Quotas.
13. devices according to any one of claim 9 to 11 are it is characterised in that described data modification operation is described
Data write operation, described processing module includes:
Acquisition submodule, for obtaining the ID executing described data modification operation;
Process submodule, couple with described acquisition submodule, described process submodule is used for ID pair described in internal memory
The space usage amount initial value of the file system answered is added with described data occupancy, obtains the first value preset, as described file system
The space usage amount final value of system;
Write submodule, is coupled with described process submodule, uses for being less than or equal to described in internal memory in described first value preset
When family identifies corresponding Disk Quotas, described data modification operation corresponding data is write file system;
Correspondingly, said write module, is coupled with described process submodule, for by corresponding for ID described in internal memory literary composition
The space usage amount initial value of part system is updated to described first value preset;
Wherein, be stored with internal memory ID, the space usage amount initial value of file system and the corresponding relation of Disk Quotas.
14. devices according to claim 13 are it is characterised in that described processing module also includes:
Terminate operation submodule, couple with described process submodule, for being more than user described in internal memory in described first value preset
When identifying corresponding Disk Quotas, terminate described data modification operation flow process;
Display sub-module, is coupled with described process submodule, for showing the information that memory space transfinites.
A kind of 15. devices of management file system quota are it is characterised in that include:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is used for:
When the data modification operation to file system is detected, obtain described data modification operation corresponding data occupancy;
According to the space usage amount initial value of described data occupancy and described file system, the space obtaining described file system makes
Consumption final value;
Space usage amount final value write internal memory by described file system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610791974.5A CN106383856A (en) | 2016-08-31 | 2016-08-31 | Method and device for managing file system quota |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610791974.5A CN106383856A (en) | 2016-08-31 | 2016-08-31 | Method and device for managing file system quota |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106383856A true CN106383856A (en) | 2017-02-08 |
Family
ID=57938729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610791974.5A Pending CN106383856A (en) | 2016-08-31 | 2016-08-31 | Method and device for managing file system quota |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106383856A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107885859A (en) * | 2017-11-20 | 2018-04-06 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer-readable recording medium of file number quota |
CN108932271A (en) * | 2017-05-27 | 2018-12-04 | 大唐移动通信设备有限公司 | A kind of file management method and device |
CN111258952A (en) * | 2020-01-08 | 2020-06-09 | 北京松果电子有限公司 | Data storage control method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101799797A (en) * | 2010-03-05 | 2010-08-11 | 中国人民解放军国防科学技术大学 | Dynamic allocation method of user disk quota in distributed storage system |
CN102023821A (en) * | 2010-12-16 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Disc space management method and system |
CN102129435A (en) * | 2010-01-13 | 2011-07-20 | 中国移动通信集团公司 | Data storage service control method and system |
CN103559231A (en) * | 2013-10-23 | 2014-02-05 | 华为技术有限公司 | File system quota managing method, device and system |
-
2016
- 2016-08-31 CN CN201610791974.5A patent/CN106383856A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129435A (en) * | 2010-01-13 | 2011-07-20 | 中国移动通信集团公司 | Data storage service control method and system |
CN101799797A (en) * | 2010-03-05 | 2010-08-11 | 中国人民解放军国防科学技术大学 | Dynamic allocation method of user disk quota in distributed storage system |
CN102023821A (en) * | 2010-12-16 | 2011-04-20 | 成都市华为赛门铁克科技有限公司 | Disc space management method and system |
CN103559231A (en) * | 2013-10-23 | 2014-02-05 | 华为技术有限公司 | File system quota managing method, device and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932271A (en) * | 2017-05-27 | 2018-12-04 | 大唐移动通信设备有限公司 | A kind of file management method and device |
CN107885859A (en) * | 2017-11-20 | 2018-04-06 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer-readable recording medium of file number quota |
CN107885859B (en) * | 2017-11-20 | 2021-10-15 | 郑州云海信息技术有限公司 | Method and device for file number quota and computer readable storage medium |
CN111258952A (en) * | 2020-01-08 | 2020-06-09 | 北京松果电子有限公司 | Data storage control method, device and storage medium |
CN111258952B (en) * | 2020-01-08 | 2023-10-13 | 北京小米松果电子有限公司 | Data storage control method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105278370B (en) | Energy-saving mode open method and device | |
CN106648730A (en) | Processing method and device of abnormal application | |
CN104602275B (en) | Client identification module SIM card switching method and device | |
CN105892805A (en) | Instant message processing method and device | |
CN105677548A (en) | Application management method and apparatus, and terminal | |
CN106503131A (en) | Obtain the method and device of interest information | |
CN105511739A (en) | Message prompting method and device | |
CN106383856A (en) | Method and device for managing file system quota | |
CN107393528A (en) | Sound control method and device | |
CN106777160A (en) | Information deletion method and device | |
CN105704322A (en) | Weather information obtaining method and apparatus | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN107977127A (en) | Update the method, apparatus and terminal of the page | |
CN107704619A (en) | Method, mobile terminal that photo is deleted based on use state applied to mobile terminal | |
CN104284019A (en) | Contact information importing method, device and equipment | |
CN107730443A (en) | Image processing method, device and user equipment | |
CN106357504A (en) | User list cleaning method and device thereof | |
CN106201738A (en) | System broadcasts call method and device | |
CN106648392B (en) | The method and device of pasting data | |
CN107220008A (en) | Memory space method for obligating and device | |
CN107894909A (en) | Limit method, apparatus and storage medium that Activity starts | |
CN106339470A (en) | Method and device for processing file | |
CN107370875A (en) | Message treatment method and device | |
CN107169042A (en) | A kind of method, device and the computer-readable recording medium of shared picture | |
CN106326032B (en) | Handle the method and device of data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170208 |
|
RJ01 | Rejection of invention patent application after publication |