[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110888847B - Recycle bin system and file recycling method - Google Patents

Recycle bin system and file recycling method Download PDF

Info

Publication number
CN110888847B
CN110888847B CN201911294228.5A CN201911294228A CN110888847B CN 110888847 B CN110888847 B CN 110888847B CN 201911294228 A CN201911294228 A CN 201911294228A CN 110888847 B CN110888847 B CN 110888847B
Authority
CN
China
Prior art keywords
file
module
request
recycle bin
sub
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
CN201911294228.5A
Other languages
Chinese (zh)
Other versions
CN110888847A (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.)
New H3C Technologies Co Ltd Chengdu Branch
Original Assignee
New H3C Technologies Co Ltd Chengdu Branch
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 New H3C Technologies Co Ltd Chengdu Branch filed Critical New H3C Technologies Co Ltd Chengdu Branch
Priority to CN201911294228.5A priority Critical patent/CN110888847B/en
Publication of CN110888847A publication Critical patent/CN110888847A/en
Application granted granted Critical
Publication of CN110888847B publication Critical patent/CN110888847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a recycle bin system and a file recycling method, comprising the following steps: the system comprises a kernel client and a plurality of MDS modules, wherein the MDS modules comprise: a distribution sub-module and a processing sub-module, wherein: the kernel client is used for receiving a file deleting request sent by the user client, and the file deleting request is used for requesting to delete the file; sending a file deletion request to a distribution sub-module of the MDS module; the distribution submodule is used for converting the file deletion request into a file movement request after receiving the file deletion request when a recycle bin is created in the directory where the file requested to be deleted is located, and the file movement request is used for requesting to move the file to the recycle bin; sending a file movement request to a processing submodule; and the processing sub-module is used for moving the file to the recycle bin after receiving the file moving request. By adopting the scheme, the file which is requested to be deleted can be moved to the pre-created recycle bin, namely, the recovery of the deleted file is realized.

Description

Recycle bin system and file recycling method
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a recycle bin system and a file recycling method.
Background
With the rapid development of computer technology in practical applications and the generation of massive amounts of data, distributed file systems are becoming more and more widely used, for example, NAS (Network Attached Storage ) file systems. The plurality of independent electronic devices establish a huge and extensible cluster system through a network, provide services through a plurality of sharing protocols, and enable users to browse and read and write data in the file system like a local file system in use. However, when a user deletes a file mounted in the distributed file system at a client, the file is directly deleted, and when the file is deleted by mistake, the file cannot be recovered aiming at the deletion by mistake.
Disclosure of Invention
An objective of the embodiments of the present application is to provide a recycle bin system and a file recycling method, which are used for solving the problem that a deleted file cannot be recycled for a distributed file system in the related art.
The specific technical scheme is as follows:
the embodiment of the application provides a recycle bin system, which comprises: the system comprises a kernel client and a plurality of metadata service MDS modules, wherein the kernel client is positioned at a server, and the MDS modules comprise: a distribution sub-module and a processing sub-module, wherein:
The kernel client is used for receiving a file deletion request sent by the user client, wherein the file deletion request is used for requesting to delete a file; sending the file deletion request to the distribution sub-module of the MDS module;
the distributing sub-module is used for converting the file deleting request into a file moving request when a recycle bin is created in a directory where the file requiring to be deleted is located after receiving the file deleting request, wherein the file moving request is used for requesting to move the file to the recycle bin; sending the file movement request to the processing submodule;
and the processing sub-module is used for moving the file to the recycle bin after receiving the file moving request.
Further, the processing sub-module is further configured to generate a file deletion response that indicates that the file is deleted after the file is moved to the recycle bin; sending the file deletion response to the kernel client;
and the kernel client is further used for sending the file deletion response to the user client.
Further, the processing sub-module is specifically configured to generate a file movement response that indicates that the file has been moved to the recycle bin after the file is moved to the recycle bin; and converting the file movement response into a file deletion response indicating that the file is deleted.
Further, the processing sub-module is further configured to generate a file information record indicating that the file has been moved to the recycle bin after the file is moved to the recycle bin, and store the file information record.
Further, the method further comprises the following steps:
and the working module is used for operating the files in the recycle bin based on the file information catalogue.
Further, the processing sub-module is specifically configured to store the file information record in the metadata pool according to the object mapping OMAP structure.
Further, the distributing sub-module is further configured to determine, before converting the file deletion request into a file movement request for requesting to move the file to the recycle bin, whether the file satisfies a preset recycle condition, and if so, execute the step of converting the file deletion request into a file movement request for requesting to move the file to the recycle bin.
Further, the distributing sub-module is specifically configured to obtain recovery configuration information configured in advance for the recovery station, and determine, based on the recovery configuration information, whether the file meets a preset recovery condition.
Further, the MDS module further comprises:
the configuration sub-module is used for receiving a configuration request for the recycle bin sent by the management client, wherein the configuration request carries recycling configuration information of the recycle bin; storing the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the recycle bin preconfigured recycle configuration information is stored in a metadata pool.
Further, the MDS module further comprises:
the configuration sub-module is used for receiving a configuration request for the recycle bin sent by the management client, wherein the configuration request carries recycling configuration information of the recycle bin; and storing the recovery configuration information in the metadata pool according to an OMAP structure.
Further, the configuration submodule is further configured to store the recovery configuration information in a cache of the MDS module to which the configuration submodule belongs after the recovery configuration information is stored in the metadata pool; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the distributing sub-module is specifically configured to send the file movement request to a processing sub-module of the MDS module to which the distributing sub-module belongs or a processing sub-module of another MDS module.
The embodiment of the application also provides a file recycling method, which is applied to a metadata service MDS module in a recycle bin system, wherein the MDS module comprises the following components: a distribution sub-module and a processing sub-module, the method comprising:
after receiving a file deleting request for requesting to delete a file, the distributing sub-module converts the file deleting request into a file moving request when a recycle bin is created in a directory in which the file requested to be deleted is located, wherein the file moving request is used for requesting to move the file to the recycle bin;
the distribution sub-module sends the file movement request to the processing sub-module;
and the processing sub-module moves the file to the recycle bin after receiving the file movement request.
Further, after the moving the file to the recycle bin, the method further includes:
the processing sub-module generates a file deletion response indicating that the file has been deleted;
and the processing submodule returns the file deletion response.
Further, the processing sub-module generates a file deletion response indicating that the file has been deleted, including:
the processing sub-module generating a file movement response indicating that the file has moved to the recycle bin; and converting the file movement response into a file deletion response indicating that the file is deleted.
Further, after the moving the file to the recycle bin, the method further includes:
the processing sub-module generates a file information record indicating that the file has been moved to the recycle bin and stores the file information record.
Further, the storing the file information record includes:
and the processing submodule stores the file information record in the metadata pool according to the object mapping OMAP structure.
Further, before the converting the file deletion request into a file movement request for requesting to move the file to the recycle bin, the method further includes:
and the distribution submodule determines whether the file meets a preset recycling condition, and if so, executes the step of converting the file deletion request into a file movement request for requesting to move the file to the recycling station.
Further, the distributing submodule determines whether the file meets a preset recycling condition, including:
the distribution sub-module acquires recovery configuration information pre-configured for the recovery station, and determines whether the file meets a preset recovery condition based on the recovery configuration information.
Further, the MDS module further comprises: the recycle bin system comprises a plurality of MDS modules, and the method further comprises:
the configuration sub-module receives a configuration request for the recycle bin sent by a management client, wherein the configuration request carries recycling configuration information of the recycle bin; storing the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the recycle bin preconfigured recycle configuration information is stored in a metadata pool.
Further, the MDS module further comprises: the method configures the sub-module, further comprising:
the configuration sub-module receives a configuration request for the recycle bin sent by a management client, wherein the configuration request carries recycling configuration information of the recycle bin; and storing the recovery configuration information in the metadata pool according to an OMAP structure.
Further, the recycle bin system comprises a plurality of MDS modules;
after said storing said reclamation configuration information in said metadata pool, further comprising:
the configuration sub-module stores the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the recycle bin system comprises a plurality of MDS modules;
the distributing sub-module sends the file moving request to the processing sub-module, including:
and the distribution sub-module sends the file movement request to a processing sub-module of the MDS module which the distribution sub-module belongs to or a processing sub-module of other MDS modules.
The embodiment of the application also provides a file recycling device, which is applied to a metadata service MDS module in a recycle bin system, and comprises:
the distributing sub-module is used for converting the file deleting request into a file moving request when a recycle bin is created in a directory where the file requiring deletion is located after receiving the file deleting request for requesting deletion of the file, wherein the file moving request is used for requesting the file to be moved to the recycle bin; and sending the file movement request to the processing submodule;
And the processing sub-module is used for moving the file to the recycle bin after receiving the file moving request.
Embodiments of the present application also provide an electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method for recovering the file comprises the steps of implementing any one of the above methods.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, which when executed by a processor, implements the steps of any of the above-described file reclamation methods.
Embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the above-described file reclamation methods.
The beneficial effects of the embodiment of the application are that:
the recycle bin system provided in the embodiment of the application includes: the kernel client and the MDS modules are positioned at the server side, and the MDS modules comprise: a distribution sub-module and a processing sub-module, wherein: the kernel client is used for receiving a file deleting request sent by the user client, and the file deleting request is used for requesting to delete the file; sending a file deletion request to a distribution sub-module of the MDS module; the distribution submodule is used for converting the file deletion request into a file movement request when a recycle bin is created in the directory where the file requiring deletion is located after receiving the file deletion request, wherein the file movement request is used for requesting to move the file to the recycle bin; sending a file movement request to a processing submodule; the processing submodule is used for moving the file to the recycle bin after receiving the file moving request. By adopting the recycle bin system, the file which is required to be deleted is moved to the pre-created recycle bin by converting the file deleting request sent by the user client into the file moving request at the server, and thus the recycling of the deleted file is realized.
Of course, not all of the above-described advantages need be achieved simultaneously in practicing any one of the products or methods of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a recycle bin system according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a method for recovering files according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for recycling files according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of recycling configuration information for configuring a recycle bin in an embodiment of the present application;
FIG. 5 is a flowchart of updating recovery configuration information of a recovery station according to an embodiment of the present application;
fig. 6a is a schematic structural diagram of a file recycling device according to an embodiment of the present application;
FIG. 6b is a schematic structural diagram of another document recycling apparatus according to an embodiment of the present disclosure;
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The embodiment of the application provides a recycle bin system, as shown in fig. 1, including: a kernel client located at a server and a plurality of MDS (Metadata server) modules, where the MDS modules include: a distribution sub-module and a processing sub-module, wherein:
the kernel client is used for receiving a file deleting request sent by the user client, wherein the file deleting request is used for requesting to delete a file; sending a file deletion request to a distribution sub-module of the MDS module;
the distributing sub-module is used for converting the file deleting request into a file moving request when a recycle bin is created in the directory where the file requiring deletion is located after receiving the file deleting request, wherein the file moving request is used for requesting to move the file to the recycle bin; sending a file movement request to a processing submodule;
And the processing sub-module is used for moving the file to the recycle bin after receiving the file moving request.
Based on the same inventive concept, the embodiment of the application also provides a file recycling method, which is applied to an MDS module in a recycle bin system, wherein the MDS module comprises: the distribution sub-module and the processing sub-module, as shown in fig. 2, the method comprises:
step 21, after receiving a file deletion request for requesting to delete a file, the distribution sub-module converts the file deletion request into a file movement request when a recycle bin is created in a directory in which the file requested to be deleted is located, where the file movement request is used for requesting to move the file to the recycle bin.
Step 22, the distributing sub-module sends a file moving request to the processing sub-module.
And step 23, after receiving the file moving request, the processing sub-module moves the file to a recycle bin.
By adopting the recycle bin system and the file recycling method, the file which is required to be deleted is moved to the pre-created recycle bin by converting the file deleting request sent by the user client into the file moving request at the server, and then the deleted file is recycled.
In the solution provided in the embodiment of the present application, the file requested to be deleted may be a file with specific content or use, for example, a text document, a picture, a program, software, or the like, or may be a directory, where in some operating systems, the directory is equivalent to a folder.
The recycle bin system and the file recycling method provided by the embodiment of the application are described in detail below with reference to the accompanying drawings.
In one embodiment of the present application, a file recycling method based on the above recycle bin system is provided, which is applied to an MDS module in the recycle bin system, as shown in fig. 3, and includes the following steps:
step 301, a distributing sub-module receives a file deletion request for requesting deletion of a file.
In this step, the file deletion request is from a user client, and in one embodiment, the recycle bin system may include a kernel client, configured to perform message interaction with the user client, where the user client sends the file deletion request to the kernel client, and the kernel client forwards the file deletion request to a distribution sub-module of the MDS module, that is, the distribution sub-module receives the file deletion request forwarded by the kernel client.
Because the recycle bin system comprises a plurality of MDS modules, after receiving the file deletion request sent by the user client, the kernel client can select an MDS module for processing the file deletion request from the plurality of MDS modules based on a preset task distribution strategy, and send the file deletion request to a distribution sub-module of the selected MDS module. The preset task distribution policy may adopt various known possible policies, which are not limited in this application.
In the embodiment of the present application, the file deletion request may carry various file information required for subsequent processing, for example, a file identifier (may be a file name), a file path, and the like.
In this step, the file deletion request may be an unlink (file deletion) request or an rmdir (directory deletion) request, where the rmdir request is used to request deletion of a directory.
Step 302, the distributing sub-module determines whether a recycle bin has been created in the directory in which the file requested to be deleted is located, if so, performs step 303, and if not, performs step 309.
In this step, creating a recycle bin for a directory is understood to mean creating a hidden recycle directory under the directory, where the recycle directory acts as a recycle bin.
In this embodiment of the present application, the distribution sub-module of the MDS module may have a request distribution interface (dispatch_client_request), and the request distribution interface performs the above-mentioned determining operation in this step.
Step 303, the distributing sub-module determines whether the file requested to be deleted meets a preset recycling condition, if yes, step 304 is executed, and if not, step 309 is executed.
In one embodiment, the distribution sub-module may obtain recycling configuration information configured in advance for the recycle bin, and determine whether the file requested to be deleted satisfies a preset recycling condition based on the recycling configuration information.
The recycling conditions can be flexibly set based on the needs of practical applications, and in the embodiment of the application, the recycling conditions can be at least one of the following conditions:
recovery condition 1: when the type of the file is a preset type, determining that the recovery condition 1 is satisfied.
Recovery condition 2: when the size of the file is not larger than the maximum file threshold value, determining that the recovery condition 2 is satisfied; or alternatively
When the size of the file is not smaller than the minimum file threshold value, determining that the recovery condition 2 is satisfied; or alternatively
When the size of the file is within the preset size range, the recovery condition 2 is determined to be satisfied.
Recovery condition 3: and when the total data amount of the stored files in the recycle bin does not reach the preset quota, determining that the recycle condition 3 is met.
The preset type, the maximum file threshold, the minimum file threshold, the preset size range, the preset quota, and the like, which are related to the recycling conditions, can be used as recycling configuration information.
The recovery configuration information can be stored in the cache in advance, and the distribution sub-module can acquire the recovery configuration information from the cache so as to acquire the recovery configuration information more quickly, thereby further improving the processing efficiency of file deletion.
The configuration flow of the recycle configuration information for the recycle bin is described in detail in the following embodiments.
The determination in this step may be performed by the request distribution interface.
In this embodiment of the present application, the request distribution interface selects a corresponding processing function for processing according to the type of the received request, for example, when the received request is a file creation request, a processing function for processing the file creation request is selected for processing, and when the received request is a file movement request, a processing function for processing the file movement request is selected for processing. For this received file deletion request, when the reclamation conditions have been created and satisfied in the above-described steps 302 and 303, respectively, a processing function for performing request conversion is selected for processing, see the following step 304 in detail.
Step 304, the distributing sub-module converts the file deletion request into a file movement request, where the file movement request is used to request to move the file to the recycle bin.
In this step, it can be understood that the unlink/rmdir (file deletion/directory deletion) request is converted into a rename (file movement) request.
Specifically, the carried file information can be obtained from the file deleting request, and the file moving request carrying the file information is generated according to the message format of the file moving request;
And modifying the type identifier which indicates that the request type is the deletion type in the file deletion request into the type identifier which indicates that the request type is the movement type according to the message format of the file movement request to obtain the file movement request carrying the file information.
The file movement request obtained after conversion may carry file information carried in the file deletion request, for example, a file identifier, a file path, and the like.
Step 305, the distributing sub-module sends the file movement request to the processing sub-module.
In this step, the distributing sub-module may send the file movement request to a processing sub-module of the MDS module to which the distributing sub-module belongs, or may send the file movement request to a processing sub-module of another MDS module, further, the file movement request may be sent to the kernel client first, and then the kernel client selects from the multiple MDS modules and forwards the file movement request to the processing sub-module of the selected MDS module.
Step 306, after receiving the file moving request, the processing sub-module moves the file to the recycle bin.
Step 307, the processing sub-module generates a file deletion response indicating that the file has been deleted after moving the file to the recycle bin, and returns the file deletion response.
In one embodiment, according to processing logic following a file movement request, a file movement response may be generated first indicating that the file has moved to the recycle bin, and as the file is moved to the recycle bin, the file movement response may be further converted to a file delete response indicating that the file has been deleted.
Specifically, the carried file information can be obtained from the file movement response, and a file deletion response carrying the file information is generated according to the message format of the file deletion response;
and modifying the type identifier of the file mobile response with the response type of the mobile type in China according to the message format of the file deletion response to obtain the file deletion response carrying the file information.
In this step, the processing sub-module may send the file deletion response to the kernel client, and the kernel client returns the file deletion response to the user client, so that the user client knows that the file is deleted.
Step 308, after the processing sub-module moves the file to the recycle bin, further, a file information record indicating that the file has been moved to the recycle bin may also be generated and stored.
The stored file information record may be used for subsequent processing operations on the recycle bin file, which will be described in detail in the following embodiments.
In this embodiment of the present application, the file information record corresponding to a recovered file may include various file information based on the needs of practical applications, for example, the included file information may be as shown in the following table 1:
file inode Delete time File size Modification time File type Status marking File name + timestamp Original path
str int 32_t int 64_t int 32_t int 8_t int 8_t str str
Table 1: file information recording
The file inode (index node) is a unique identifier of each file recycled to the recycle bin, and different files have different unique identifiers;
deleting time is the time for recovering the file to the recycle bin;
file size, the size of the file that is reclaimed to the recycle bin;
the modification time is the time when the file recycled to the recycle bin is modified last time;
the file type is the type of the file recycled to the recycle bin;
a status flag indicating a current status of the file retrieved to the recycle bin, e.g., an expired to-be-deleted status, a restored status, and a moving status;
File name + time stamp, for the file name of the file and delete moment of the file recycled to the recycle bin, thus can support the recovery of different files with the same file name;
the original path is the file path of the file recycled to the recycle bin before recycling.
In one embodiment, the file information record of the reclaimed file may be stored in the file reclamation list of the reclamation station, and it may be stored in the metadata pool in accordance with an OMAP (Object Map) structure, that is, the file reclamation list may be stored in the metadata pool with a track (garbage) +directory inode as an Object name.
The file inode is used as a key, and various file information is recorded in the object omap as a value.
In the above table 1, "str" represents a string type, "int 32_t" represents a 32-bit integer type, "int 64_t" represents a 64-bit integer type, "int8_t" represents an 8-bit integer type,
the step 308 and the step 307 may be performed simultaneously without strict sequence.
Step 309, when no recycle bin is created in the directory where the file requested to be deleted is located, or when the file requested to be deleted does not meet a preset recycle condition, the distributing sub-module sends the file deleting request to the processing sub-module.
In this step, the distributing sub-module may send the file deletion request to a processing sub-module of the MDS module to which the distributing sub-module belongs, or may send the file deletion request to a processing sub-module of another MDS module.
Step 310, the processing sub-module deletes the file after receiving the file deletion request.
In step 311, further, after deleting the file, the processing sub-module may further generate a file deletion response indicating that the file has been deleted, and return the file deletion response.
In this step, the processing sub-module may send the file deletion response to the kernel client, and the kernel client returns the file deletion response to the user client, so that the user client knows that the file is deleted.
Based on the recycle bin system, by adopting the file recycling method, the file which is required to be deleted is moved to the pre-created recycle bin by converting the file deleting request sent by the user client into the file moving request at the server, and then the deleted file is recycled.
And the user client does not need to be improved, so that the user client does not change the original external interface, the user does not need to change the original operation habit, the user client is not relied on, all sharing protocols between the user client and the server can be compatible, and the user can conveniently operate various files based on the recycle bin system.
And, based on the recycling configuration information configured in advance for the recycling station, the recycling conditions can be flexibly set based on the needs, so that the user can customize the recycling strategy based on the needs of the user.
In the above-described file recycling method shown in fig. 3, the distribution sub-module may determine whether the file requested to be deleted satisfies the preset recycling condition based on recycling configuration information configured in advance for the recycling station, and the configuration and updating of the recycling configuration information will be described in detail below.
Fig. 4 shows a flow of configuring recovery configuration information of a recovery station for a directory in which the recovery station is created, including the following steps:
in step 41, the management client generates, for the directory in which the recycle bin is required to be created, a configuration request carrying recycle configuration information of the recycle bin, where the configuration request may also carry information of the directory in which the recycle bin is created, for example, a directory path.
In this embodiment, for the recycle configuration information of the recycle bin, flexible configuration may be performed based on the needs of the actual application, for example, the recycle configuration information may specifically include a preset type, a maximum file threshold, a minimum file threshold, a preset size range, a preset quota, and the like.
The management client is a client used by an administrator of the recycle bin system, and the administrator realizes some management operations on the recycle bin system through the management client.
In this step, the management client may display a management interface, and the administrator inputs the recovery configuration information to be configured based on the management interface, and after acquiring the recovery configuration information, the management client generates a configuration request carrying the recovery configuration information of the recovery station.
In one embodiment, further, after acquiring the recovery configuration information input by the administrator and before generating the configuration request, the recovery configuration information may be checked according to a preset check rule, for example, parameter check is performed, after the check is passed, the configuration request is generated, if the check is not passed, the check is prompted to be not passed in the management interface, and the reason of the failure is displayed, so that the administrator reenters the recovery configuration information conforming to the rule.
Step 42, the management client sends the generated configuration request to the MDS module in the recycle bin system.
Since the recycle bin system includes a plurality of MDS modules, in this step, a configuration request may be sent to one of the MDS modules.
Step 43, after receiving the configuration request, the MDS module generates a configuration information record containing the recovery configuration information carried by the MDS module.
Further, the MDS module may include a configuration submodule, with this step being performed by the configuration submodule.
In one embodiment, the generated configuration information record containing the recovered configuration information may be as shown in table 2 below:
Figure BDA0002320055430000131
table 2: configuration information recording
The directory inode (index node) is a unique identifier of a directory of a recycle bin to be created, and different directories have different unique identifiers;
a recycle directory inode (index node), which is a unique identifier of the created recycle directory as the recycle bin, different recycle directories, and different recycle directory unique identifiers;
the reservation time length is the maximum time length of storing the files in the recycle bin, and when the storage time length of one file in the recycle bin exceeds the reservation time length, the file can be deleted from the recycle bin;
file size, which is a file size used to determine whether the reclamation condition is satisfied, may be, for example, a maximum file threshold, a minimum file threshold, or a preset size range;
deleting intervals, namely determining whether the time intervals of files needing to be deleted exist in the recycle bin or not;
forced deletion, which means whether the file in the recycle bin can be forcedly deleted;
creating time, namely creating the time of the recycle bin;
Quota, which is the maximum storage capacity of the recycle bin, when the data volume of the stored file is greater than the quota, the file cannot be recycled;
the alarm threshold value is smaller than the quota, and when the storage capacity of the recycle bin reaches the alarm threshold value, alarm prompt is carried out;
a recycle directory, which is a path of the recycle bin;
the file type is a preset type for determining whether the reclamation condition is satisfied, for example, when the type of the file requested to be deleted is the file type or is not the file type, it is determined that the reclamation condition is satisfied.
And step 44, the configuration sub-module stores the generated configuration information record.
In one embodiment, the configuration information record of each recycle bin created in the recycle bin system may be stored in a recycle bin list of the recycle bin system, and it may store the generated configuration information record of the recycle bin in a metadata pool according to an OMAP structure, that is, the recycle bin list may be stored in the metadata pool with a track (garbage) +info as an object name.
The directory inode of the recycle bin is used as a key, and various recycle configuration information is recorded in the object omap as a value.
Step 45, after the configuration submodule stores the generated configuration information record, the configuration information record may also be stored in a cache of the MDS module.
The configuration information record is stored in the cache of the MDS module, so that the MDS module can directly acquire the configuration information record from the cache when the configuration information record is required to be acquired later, the processing efficiency of file recovery and inspection is improved, and the performance influence on a file deletion flow is reduced.
Step 46, the configuration sub-module may also send the configuration information record to other MDS modules.
Step 47, after receiving the configuration information record, the other MDS modules store the configuration information record in a cache of the MDS module.
Step 48, after the buffering is completed, the other MSD modules return a buffering response indicating that buffering is completed to the configuration submodule.
Step 49, the configuration sub-module returns a configuration response indicating that the configuration has been performed to the management client after receiving the cache response.
The flow shown in fig. 4 is a flow for configuring recovery configuration information of a recovery station for a directory in which the recovery station is created, and further, when the configured recovery configuration information needs to be updated, the flow shown in fig. 5 may be used for updating, and the method includes the following steps:
step 51, the management client generates an update request carrying updated recycle configuration information of the recycle bin for the directory of the created recycle bin.
Step 52, the management client sends the generated update request to the MDS module in the recycle bin system.
Step 53, after receiving the update request, the MDS module generates a configuration information record containing the updated recovery configuration information.
And 54, the configuration sub-module stores a configuration information record containing the updated recovery configuration information.
In one embodiment, the configuration information record containing the updated recovery configuration information may be used to replace the original recovery configuration information record, thereby completing the update of the recovery configuration information.
Step 55, after the configuration submodule stores the configuration information record containing the updated recovery configuration information, the configuration information record may also be stored in a cache of the MDS module.
Step 56, the configuration sub-module may also send the updated record of configuration information to other MDS modules.
Step 57, after receiving the updated configuration information record, the other MDS modules store the updated configuration information record in the cache of the MDS module.
In one embodiment, the updated configuration information record may be used to replace the cached original recovery configuration information record, thereby completing the updating of the recovery configuration information.
Step 58, after the buffering is completed, the other MSD modules return buffering responses representing the buffered configuration submodules.
Step 59, after receiving the buffer response, the configuration sub-module returns an update response indicating that the update has been performed to the management client.
In the flow shown in fig. 5, the updated recovery configuration information and the updated configuration information record, the specific information content and storage format thereof may be the same as those in the flow shown in fig. 4, and will not be described in detail here.
By adopting the configuration flow and the update flow of the recovery configuration information shown in fig. 4 and 5, the recovery configuration information can be quickly configured and updated, and the recovery configuration information is stored in the cache of the MDS module, so that the recovery configuration information can be quickly acquired when needed, and the processing efficiency of file recovery is improved.
In this embodiment of the present application, after a file requested to be deleted is recovered to a recycle bin, some operations may be performed on a file stored in the recycle bin, where the performed operations may be performed based on a file information record of a file in the stored recycle bin, and may specifically include the following specific operations:
deletion operation: aiming at the files in the recycle bin, the files in the recycle bin can be deleted when the deleting conditions are met, and the deleting conditions can be flexibly set based on the requirements of practical applications;
For example, after receiving a file deletion request for a file in the recycle bin sent by the management client or the user client, deleting the corresponding file in the recycle bin;
and the method can also be used for detecting whether the storage duration of the file in the recycle bin exceeds the retention duration or not at regular time based on the retention duration in the configuration information record, and deleting the file from the recycle bin if the storage duration of the file in the recycle bin exceeds the retention duration.
And (3) reduction operation: aiming at the files in the recycle bin, when the recovery conditions are met, the files in the recycle bin can be recovered, namely the files are moved to the catalog where the files are located before being deleted according to the original path, and the recovery conditions can be flexibly set based on the needs of practical application;
for example, after receiving a file restore request for a file in the recycle bin sent by the management client or the user client, the corresponding file in the recycle bin is restored.
And (3) moving: aiming at the files in the recycle bin, when the moving conditions are met, the files in the recycle bin can be moved to a designated directory, and the moving conditions can be flexibly set based on the needs of practical application;
for example, after receiving a file moving request for a file in the recycle bin sent by the management client or the user client, the corresponding file in the recycle bin is moved to a specified directory.
In the embodiment of the present application, the above-mentioned various operations for the file in the recycle bin may be performed by a worker module in the recycle bin system.
The recycling station system can comprise a plurality of worker modules, one worker module can be selected among the worker modules to serve as a main worker module, the other worker modules serve as standby worker modules, when various operations are needed to be executed, the current main worker module executes the operations, if the main worker module is abnormal, a new main worker module is selected among the standby worker modules to execute the operations, and therefore high availability of the worker modules is ensured based on a cluster high availability mechanism.
In addition, in the embodiment of the application, the file information record is stored in the metadata pool, and the worker module can directly acquire the file information record from the metadata pool, so that the MDS module can relieve the pressure without requesting to acquire the file information record from the MDS module.
Based on the same inventive concept, according to the file recycling method provided in the foregoing embodiment of the present application, correspondingly, another embodiment of the present application further provides a file recycling device, which is applied to an MDS module in a recycle bin system, and a schematic structural diagram of the MDS module is shown in fig. 6a, and specifically includes:
A distributing sub-module 61, configured to, after receiving a file deletion request for requesting to delete a file, convert the file deletion request into a file movement request when a recycle bin has been created in a directory in which the file requested to be deleted is located, where the file movement request is used for requesting to move the file to the recycle bin; and sending the file movement request to the processing sub-module 61;
and the processing sub-module 62 is configured to move the file to the recycle bin after receiving the file movement request.
Further, the processing sub-module 62 is further configured to generate a file deletion response indicating that the file has been deleted after the moving the file to the recycle bin; and returning the file deleting response.
Further, the processing sub-module 62 is specifically configured to generate a file movement response indicating that the file has been moved to the recycle bin; and converting the file movement response into a file deletion response indicating that the file is deleted.
Further, the processing sub-module 62 is further configured to generate a file information record indicating that the file has been moved to the recycle bin after the file is moved to the recycle bin, and store the file information record.
Further, the processing sub-module 62 is specifically configured to store the file information record in the metadata pool according to the object mapping OMAP structure.
Further, the distributing sub-module 61 is further configured to determine, before the converting the file deletion request into a file movement request for requesting to move the file to the recycle bin, whether the file satisfies a preset recycle condition, and if so, execute the step of converting the file deletion request into a file movement request for requesting to move the file to the recycle bin.
Further, the distributing sub-module 61 is specifically configured to obtain recovery configuration information configured in advance for the recovery station, and determine, based on the recovery configuration information, whether the file meets a preset recovery condition.
Further, as shown in fig. 6b, the file recycling apparatus further includes:
a configuration sub-module 63, configured to receive a configuration request for the recycle bin sent by a management client, where the configuration request carries recycling configuration information of the recycle bin; storing the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the recycle bin preconfigured recycle configuration information is stored in a metadata pool.
Further, as shown in fig. 6b, the file recycling apparatus further includes:
a configuration sub-module 63, configured to receive a configuration request for the recycle bin sent by a management client, where the configuration request carries recycling configuration information of the recycle bin; and storing the recovery configuration information in the metadata pool according to an OMAP structure.
Further, the configuration submodule 63 is further configured to store the recovery configuration information in a cache of the MDS module to which the configuration submodule belongs after the recovery configuration information is stored in the metadata pool; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
Further, the distributing sub-module 61 is specifically configured to send the file movement request to a processing sub-module of the MDS module that the distributing sub-module itself belongs to or a processing sub-module of another MDS module.
The functions of the above modules may correspond to the corresponding processing steps in the flow shown in fig. 2 to 5, and are not described herein.
Based on the same inventive concept, according to the file recycling method provided in the above embodiment of the present application, correspondingly, another embodiment of the present application further provides an electronic device, as shown in fig. 7, including a processor 71 and a machine-readable storage medium 72, where the machine-readable storage medium 72 stores machine-executable instructions capable of being executed by the processor 71, and the processor 71 is caused by the machine-executable instructions to: implementing any file recycling method.
The machine-readable storage medium may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. In the alternative, the machine-readable storage medium may also be at least one memory device located remotely from the foregoing processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment provided herein, there is also provided a computer readable storage medium having a computer program stored therein, which when executed by a processor, implements the steps of any of the file reclamation methods described above.
In yet another embodiment provided herein, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the file reclamation methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for recycle bin system, apparatus, electronic device, computer readable storage medium and computer program product embodiments, the description is relatively simple, as relevant to see partial description of the method embodiments, since they are substantially similar to the method embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (15)

1. A recycle bin system, comprising: the system comprises a kernel client and a plurality of metadata service MDS modules, wherein the kernel client is positioned at a server, and the MDS modules comprise: a distribution sub-module and a processing sub-module, wherein:
the kernel client is used for receiving a file deletion request sent by the user client, wherein the file deletion request is used for requesting to delete a file; sending the file deletion request to the distribution sub-module of the MDS module;
the distributing sub-module is used for converting the file deleting request into a file moving request when a recycle bin is created in a directory where the file requiring to be deleted is located after receiving the file deleting request, wherein the file moving request is used for requesting to move the file to the recycle bin; sending the file movement request to the processing submodule; the file moving request carries file information carried in the file deleting request, and the file information comprises: file identification, file path;
And the processing sub-module is used for moving the file to the recycle bin after receiving the file moving request.
2. The recycle bin system of claim 1, wherein the processing sub-module is further configured to generate a file movement response indicating that the file has been moved to the recycle bin after moving the file to the recycle bin; converting the file movement response into a file deletion response indicating that the file has been deleted;
and the kernel client is further used for sending the file deletion response to the user client.
3. The recycle bin system of claim 1, wherein the processing sub-module is further configured to, after moving the file to the recycle bin, generate a file information record indicating that the file has been moved to the recycle bin and store the file information record.
4. The recycle bin system of claim 3, further comprising:
and the working module is used for operating the files in the recycle bin based on the file information catalogue.
5. The recycle bin system according to claim 1, wherein the distribution sub-module is further configured to determine, before converting the file deletion request into a file movement request for requesting movement of the file to the recycle bin, whether the file satisfies a preset recycle condition, and if so, convert the file deletion request into a file movement request for requesting movement of the file to the recycle bin.
6. The recycling system according to claim 5, wherein the distribution sub-module is specifically configured to obtain recycling configuration information configured in advance for the recycling station, and determine whether the file meets a preset recycling condition based on the recycling configuration information.
7. The recycle bin system according to claim 6, wherein the MDS module further comprises:
the configuration sub-module is used for receiving a configuration request for the recycle bin sent by the management client, wherein the configuration request carries recycling configuration information of the recycle bin; storing the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
8. The recycle bin system according to claim 1, wherein the distributing sub-module is configured to send the file movement request to a processing sub-module of the MDS module to which the distributing sub-module belongs or a processing sub-module of another MDS module.
9. A method for file reclamation, characterized by being applied to a metadata service MDS module in a recycle bin system, the MDS module comprising: a distribution sub-module and a processing sub-module, the method comprising:
After receiving a file deleting request for requesting to delete a file, the distributing sub-module converts the file deleting request into a file moving request when a recycle bin is created in a directory in which the file requested to be deleted is located, wherein the file moving request is used for requesting to move the file to the recycle bin; the file moving request carries file information carried in the file deleting request, and the file information comprises: file identification, file path;
the distribution sub-module sends the file movement request to the processing sub-module;
and the processing sub-module moves the file to the recycle bin after receiving the file movement request.
10. The method of claim 9, further comprising, after said moving said file to said recycle bin:
the processing sub-module generating a file movement response indicating that the file has moved to the recycle bin; converting the file movement response into a file deletion response indicating that the file has been deleted;
and the processing submodule returns the file deletion response.
11. The method of claim 9, further comprising, after said moving said file to said recycle bin:
The processing sub-module generates a file information record indicating that the file has been moved to the recycle bin and stores the file information record.
12. The method of claim 9, further comprising, prior to said converting said file delete request to a file move request for requesting said file to be moved to said recycle bin:
and the distribution submodule determines whether the file meets a preset recycling condition, and if so, executes the step of converting the file deletion request into a file movement request for requesting to move the file to the recycling station.
13. The method of claim 12, wherein the distributing submodule determining whether the file meets a preset reclamation condition comprises:
the distribution sub-module acquires recovery configuration information pre-configured for the recovery station, and determines whether the file meets a preset recovery condition based on the recovery configuration information.
14. The method of claim 13, wherein the MDS module further comprises: the recycle bin system comprises a plurality of MDS modules, and the method further comprises:
The configuration sub-module receives a configuration request for the recycle bin sent by a management client, wherein the configuration request carries recycling configuration information of the recycle bin; storing the recovery configuration information in a cache of the MDS module to which the configuration sub-module belongs; and sending the recovery configuration information to configuration submodules of other MDS modules so that the other MDS modules store the recovery configuration information in own caches.
15. The method of claim 9, wherein the recycle bin system comprises a plurality of MDS modules;
the distributing sub-module sends the file moving request to the processing sub-module, including:
and the distribution sub-module sends the file movement request to a processing sub-module of the MDS module which the distribution sub-module belongs to or a processing sub-module of other MDS modules.
CN201911294228.5A 2019-12-16 2019-12-16 Recycle bin system and file recycling method Active CN110888847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911294228.5A CN110888847B (en) 2019-12-16 2019-12-16 Recycle bin system and file recycling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911294228.5A CN110888847B (en) 2019-12-16 2019-12-16 Recycle bin system and file recycling method

Publications (2)

Publication Number Publication Date
CN110888847A CN110888847A (en) 2020-03-17
CN110888847B true CN110888847B (en) 2023-04-21

Family

ID=69752124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911294228.5A Active CN110888847B (en) 2019-12-16 2019-12-16 Recycle bin system and file recycling method

Country Status (1)

Country Link
CN (1) CN110888847B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342579A (en) * 2021-07-05 2021-09-03 湖南快乐阳光互动娱乐传媒有限公司 Data restoration method and device
CN114490516A (en) * 2022-01-30 2022-05-13 阿里巴巴(中国)有限公司 File system processing method, recycle bin management method, device and equipment
CN118092726A (en) * 2022-11-28 2024-05-28 华为技术有限公司 File management method and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN103973731A (en) * 2013-01-29 2014-08-06 中兴通讯股份有限公司 Method and device for managing cloud storage recycle bin
CN104991834A (en) * 2015-05-27 2015-10-21 努比亚技术有限公司 Data recycle method and mobile terminal
CN105095489A (en) * 2015-08-18 2015-11-25 浪潮(北京)电子信息产业有限公司 Distributed file deletion method, device and system
CN105653397A (en) * 2015-09-30 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Recovery processing method, apparatus and electronic device
CN106354884A (en) * 2016-10-09 2017-01-25 郑州云海信息技术有限公司 Data object deleting method and device based on distributed file system
CN107943804A (en) * 2016-10-12 2018-04-20 中标软件有限公司 The system and method for data is periodically deleted on mobile terminal
CN108733797A (en) * 2018-05-16 2018-11-02 Oppo广东移动通信有限公司 Document handling method and relevant apparatus
CN109062516A (en) * 2018-09-14 2018-12-21 成都云祺科技有限公司 Invalid data method for removing in a kind of windows virtual machine backup procedure
CN109739815A (en) * 2019-01-10 2019-05-10 北京达佳互联信息技术有限公司 Document handling method, system, device, equipment and storage medium
CN110413577A (en) * 2019-06-27 2019-11-05 无锡华云数据技术服务有限公司 Data-erasure method, device, electronic equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080133609A1 (en) * 2006-12-01 2008-06-05 Electronics And Telecommunications Research Institute Object-based storage system for defferring elimination of shared file and method thereof
WO2008130983A1 (en) * 2007-04-16 2008-10-30 Attune Systems, Inc. File aggregation in a switched file system
CN107239521A (en) * 2017-05-26 2017-10-10 郑州云海信息技术有限公司 Recycle bin application process and system on a kind of distributed type assemblies
CN107506652A (en) * 2017-07-13 2017-12-22 浙江大学 CephFS metadata of distributed type file system accesses the realization method and system of protection mechanism
US11249946B2 (en) * 2018-05-11 2022-02-15 EMC IP Holding Company LLC Path name cache for notifications of file changes
CN109614377B (en) * 2018-12-07 2022-04-22 浪潮电子信息产业股份有限公司 File deletion method, device, equipment and storage medium of distributed file system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN103973731A (en) * 2013-01-29 2014-08-06 中兴通讯股份有限公司 Method and device for managing cloud storage recycle bin
CN104991834A (en) * 2015-05-27 2015-10-21 努比亚技术有限公司 Data recycle method and mobile terminal
CN105095489A (en) * 2015-08-18 2015-11-25 浪潮(北京)电子信息产业有限公司 Distributed file deletion method, device and system
CN105653397A (en) * 2015-09-30 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Recovery processing method, apparatus and electronic device
CN106354884A (en) * 2016-10-09 2017-01-25 郑州云海信息技术有限公司 Data object deleting method and device based on distributed file system
CN107943804A (en) * 2016-10-12 2018-04-20 中标软件有限公司 The system and method for data is periodically deleted on mobile terminal
CN108733797A (en) * 2018-05-16 2018-11-02 Oppo广东移动通信有限公司 Document handling method and relevant apparatus
CN109062516A (en) * 2018-09-14 2018-12-21 成都云祺科技有限公司 Invalid data method for removing in a kind of windows virtual machine backup procedure
CN109739815A (en) * 2019-01-10 2019-05-10 北京达佳互联信息技术有限公司 Document handling method, system, device, equipment and storage medium
CN110413577A (en) * 2019-06-27 2019-11-05 无锡华云数据技术服务有限公司 Data-erasure method, device, electronic equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Hung-Chang Hsiao 等."Load Rebalancing for Distributed File Systems in Clouds".《IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS》.2012,第951-962页. *
张晓杰 等."基于操作日志的云存储服务多终端同步算法".《计算机工程与设计》.2013,第第34卷卷(第第34卷期),第3894-3899页. *

Also Published As

Publication number Publication date
CN110888847A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
US11985192B2 (en) Synchronized content library
US10140185B1 (en) Epoch based snapshot summary
CN109947668B (en) Method and device for storing data
US9367569B1 (en) Recovery of directory information
US9519653B2 (en) Techniques for efficiently enforcing resource quotas in a multi-tenant cloud storage system
US20210133040A1 (en) System and method for indexing image backups
CN110888847B (en) Recycle bin system and file recycling method
JP2017529625A (en) Synchronize shared folders and files
CN107103011B (en) Method and device for realizing terminal data search
US11574025B2 (en) Systems and methods for managed asset distribution in a distributed heterogeneous storage environment
US20210133248A1 (en) System and method for searching backups
US20200145490A1 (en) Systems and methods for content origin administration
US11422743B2 (en) Distributed storage orphan scan
CN109344226A (en) A kind of index data update method and device
CN111753141B (en) Data management method and related equipment
CN111078643B (en) Method and device for deleting files in batch and electronic equipment
US20150370649A1 (en) Sending a Request to a Management Service
CN113867628B (en) Data deleting method, device, storage medium and computing equipment
CN107526530B (en) Data processing method and device
US11226872B2 (en) Information processing apparatus, file management apparatus, and file management system
US11204890B2 (en) System and method for archiving data in a decentralized data protection system
CN114116675A (en) Data archiving method and device
US11475159B2 (en) System and method for efficient user-level based deletions of backup data
CN111522780B (en) Method and terminal for recording information of file creator
CN109710582B (en) Shared directory management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant