Metadata management method and apparatus, and distributed file system
A management method and a technology of a management device, which are applied in the field of distributed file storage and can solve problems such as occupying system cpu and disk
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0029] figure 1 It is a schematic structural diagram of the metadata management device provided in the first embodiment of the present invention, which is represented by figure 1 It can be seen that in this embodiment, the metadata management device 1 provided by the present invention includes:
[0030] The backup module 11 is used to calculate the differential data between the current metadata and the backed-up metadata by using a differential algorithm when the metadata is backed up;
[0031] The restoration module 12 is configured to restore the current metadata by using the differential data and the backed-up metadata when the metadata is restored.
[0032] In some embodiments, the backed up metadata in the above embodiments includes the latest full backup metadata. In actual use, the change of metadata is gradual. The differential algorithm uses the latest metadata as the calculation basis, which can greatly reduce the data volume of differential data. Of course, those ...
no. 2 example
[0040] figure 2 It is a flow chart of the metadata management method provided in the second embodiment of the present invention, which consists of figure 2 It can be seen that in this embodiment, the metadata management method provided by the present invention includes the following steps:
[0041] S201: When metadata is backed up, use a differential algorithm to calculate differential data between the current metadata and the backed up metadata;
[0042] S202: When restoring metadata, use differential data and backed-up metadata to restore current metadata.
[0043] In some embodiments, the backed up metadata in the above embodiments includes the latest full backup metadata.
[0044] In some embodiments, the differential data in the above embodiments includes the identifier of the metadata that has been backed up, the offset of the differential data, and the differential data.
[0045] In some embodiments, restoring the current metadata using the differential data and th...
no. 3 example
[0051] image 3It is a flow chart of the metadata management method provided by the third embodiment of the present invention, which consists of image 3 It can be seen that in this embodiment, the metadata management method provided by the present invention includes the following steps:
[0052] S301: Set a backup cycle and a full backup threshold.
[0053] When the system is initialized, the backup method is configured, the backup cycle is 3 hours, and the full backup threshold is 1G.
[0054] S302: The time for the first backup is up, and a full backup is performed.
[0055] After the backup period expires, determine the time for the first backup, perform a full metadata backup, and configure the next backup method as differential backup. The generated backup file takes the current system version and timestamp as the backup ID.
[0056] S303: The time for the second backup is up, and differential backup is performed.
[0057] When the next backup cycle arrives, check t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com