Data storage and data management method and device of distributed storage system
A distributed storage and data storage technology, applied in the transmission system, electrical components, etc., can solve the problem of high write delay glitch rate and achieve the effect of reducing the glitch rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] This embodiment provides a data storage method of a distributed storage system, such as figure 2 shown, including:
[0039] Step 110, the client obtains information of a plurality of writable blocks of the first file and information of a plurality of data servers corresponding to each writable block in the plurality of writable blocks from the master server;
[0040] In this embodiment, the client extends the protocol used to obtain the writable block information of the file in terms of the protocol facing the master server, and adds support for a file having multiple writable blocks. The client sends a query request for the writable block information of the first file to the main control server (ie, a request for obtaining the writable block information of the first file), and obtains the writable block information of the first file. The query request may also be triggered by a user request or timing or other methods. After the client obtains the writable block info...
Embodiment 2
[0073] This embodiment relates to a data management method of a distributed storage system, such as Figure 4 shown, including:
[0074] Step 210, the master control server allocates multiple writable blocks for the first file, and allocates multiple data servers for each writable block in the multiple writable blocks;
[0075] In this embodiment, when the main control server assigns a data server to a writable block in the plurality of writable blocks, the data server that is not assigned to any writable block in the plurality of writable blocks is prioritized. Select multiple different data servers to assign to this writable block. The data servers assigned to multiple writable blocks are different, which can maintain the relative independence of each writable block operation, effectively reduce glitches, and avoid the failure of writing operations on multiple writable blocks caused by the failure of one data server. If the number of writable data servers in the system is ...
example 1
[0107] This example describes an exemplary data writing process, configuration process, etc. from a system perspective. Among them, the data writing process includes:
[0108] In the first step, the client (Client) starts, and the user configures the write data parameters of the first file as follows: configure the maximum concurrent number C of writable blocks (Chunk); and configure the time interval T for initiating write operations to multiple Chunks ;
[0109] The maximum concurrent number C of Chunk is greater than or equal to 2, and less than or equal to the number M of writable blocks of the first file.
[0110] In the second step, the Client sends a request to obtain the writable block information of the first file to the master control server (Master);
[0111] Step 3: After receiving the request, the Master finds the information of the existing Chunk in the first file and the configured number of writable blocks M in the file after receiving the request;
[0112] ...
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