Method for clearing junk data and file access server
A metadata server and junk data technology, applied in the field of communication, can solve the problem of a sharp increase in message volume, and achieve the effect of reducing message interaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 2 It is a flow chart of clearing garbage data according to Embodiment 1 of the present invention. Such as figure 2 shown, including the following steps:
[0028] In step S202, the file access server determines the data range to be cleaned of junk data, and sends a request to the metadata server to clear junk data.
[0029] In step S204, the file access server receives the valid data information of the data within the data range that needs to be cleaned of junk data from the metadata server.
[0030] Step S206, the file access server determines the junk data to be cleared according to the valid data information, and clears the junk data.
[0031] In this embodiment, by determining the data range that needs to be cleaned of junk data, the junk data is determined and cleared according to the valid data information issued by the metadata server, thereby effectively reducing the number of file access servers and metadata in a multi-data server environment. The m...
Embodiment 2
[0037] image 3 It is a flow chart of clearing garbage data according to Embodiment 2 of the present invention. Such as image 3 shown, including the following steps:
[0038] Step S302, delineate the range of data blocks that participate in scanning garbage. There are many storage devices under the file access server, which are organized in a certain form to provide data access services. Therefore, the rubbish sweeping process can also be flexibly configured: (1) sweep rubbish with the entire file access server as a unit (sweep all storage devices under the file server together). (2) Scan garbage on a single storage device basis (sweep garbage on each storage device under the file access server). In order to facilitate the management of data in the storage device, the memory of the file access server generally stores the metadata information of the data on the storage device. To delineate the garbage sweep, you only need to put a mark on the corresponding metadata informa...
Embodiment 3
[0044] Figure 4 It is a flow chart of clearing garbage data according to Embodiment 3 of the present invention. Such as Figure 4 shown, including the following steps:
[0045] Step S402, initiate garbage sweeping, the method of initiating is not limited.
[0046] Steps S404 to S406, determine the range of data participating in the round sweeping of garbage, the range may be the data on a single storage device, or the data of all storage devices under the file access server. The metadata information corresponding to the data blocks on the storage device will be stored in the memory of the file access server, and it is only necessary to mark the metadata information corresponding to the data blocks participating in garbage sweeping. It is very important to determine the range of data blocks participating in this round of sweeping garbage, and all aspects must be considered comprehensively to prevent accidental deletion.
[0047] Step S408, send garbage scanning requests to...
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