Method and system used for data storage and used in distributed storage system
A distributed storage and data storage technology, applied in the field of data processing, can solve the problem of low reliability of data storage, and achieve the effects of avoiding occupation, improving reliability and ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0160] Corresponding to the method provided in Embodiment 1 of a data storage method applied in a distributed storage system of the present application, see Figure 4 , the present application also provides Embodiment 1 of a data storage device applied in a distributed storage system. In this embodiment, the device may include:
[0161] The data category determining module 401 is configured to determine the data category of the data to be stored.
[0162] The data to be stored may refer to metadata or file data. File data and metadata are two forms of stored data managed by the file system. File data includes directory data and actual data, while metadata is used to organize and manage file data.
[0163] The data category refers to a type feature used to distinguish different data. The data category can be divided according to the file format, file type, size, etc. of the data to be stored.
[0164] Wherein, when the data to be stored is a file to be stored, the data categ...
Embodiment 2
[0175] Corresponding to the method provided in Embodiment 2 of a data storage method applied in a distributed storage system of the present application, see Figure 5 , the present application also provides Embodiment 2 of a data storage device applied in a distributed storage system. In this embodiment, the device may include:
[0176] The data category determining module 501 is configured to determine the data category of the data to be stored.
[0177] When the data to be stored is a file to be stored, the data category determination module may include:
[0178] Obtaining a module for obtaining the file name suffix of the file to be stored;
[0179] The category determining submodule is used to determine the data category of the file to be stored according to the file name suffix.
[0180] A rule search module 502, configured to search for a preset storage rule corresponding to the data category, where the preset storage rule includes the number of copies and different st...
Embodiment 3
[0205] Corresponding to the method provided in Embodiment 3 of a data storage method applied in a distributed storage system of the present application, see Image 6 , the present application also provides Embodiment 3 of a data storage device applied in a distributed storage system. In this embodiment, the device may include:
[0206] A data category determination module 601, configured to determine the data category of the data to be stored;
[0207] A rule search module 602, configured to search for a preset storage rule corresponding to the data category, where the preset storage rule includes the number of copies and different storage location information;
[0208] A copy generation module 603, configured to generate a data copy of the data to be stored according to the number of copies;
[0209] The data storage module 604 is configured to store the data copies in storage nodes corresponding to different storage location information.
[0210] Since a distributed storag...
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