Data storage method and device in distributed file system
A distributed file and data storage technology, applied in transmission systems, electrical components, etc., can solve problems such as waste of resources, server downtime, heavy server load, etc., and achieve the effect of avoiding downtime and saving system resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] The embodiment of the present application does not limit the network topology that constitutes the distributed file system, that is, in a network of any topology, such as any one of a ring structure, a star structure, a bus structure, and a number The structure or any combination of multiple structures can be stored according to the data storage method in the embodiment of the present application. In this embodiment, in order to describe the data storage method in the distributed file system more conveniently, a simple network topology structure is used to further illustrate the data storage method in the distributed file system formed by the network. see figure 1 , which is a schematic diagram of a network topology that constitutes a distributed file system. like figure 1 As shown, the network is a mixed network topology composed of bus and star, in which the backbone network is a bus structure, and other subnets are a star structure.
[0032] Combine below figure ...
Embodiment 2
[0052] A specific implementation process capable of realizing data storage in a distributed file system is described below. see image 3 , which is a specific implementation flowchart of data storage in a distributed file system of the present application. Include the following steps:
[0053] Step 301: Point the current node to the root node of the distributed file system;
[0054] Step 302: Judging whether all the sub-nodes of the current node include routing device nodes, if yes, go to step 303, otherwise, go to step 304;
[0055] Step 303: Calculate the data storage capacity of the next-level routing device node of the current node, and enter step 304;
[0056] Step 304: judge whether all the sub-nodes of the current node contain server nodes, if yes, go to step 305, otherwise, go to step 306;
[0057] Step 305: Obtain the data storage capacity of the next-level server node of the current node;
[0058] Step 306: comparing the data storage capacity of the next-level s...
Embodiment 3
[0082] Corresponding to the above data storage method of the distributed file system, the embodiment of the present application further provides a data storage device in the distributed file system. see Figure 5 , which is a structural diagram of an embodiment of a data storage device in a distributed file system of the present application. The device includes: a search unit 501 , a first storage unit 502 and a second storage unit 503 .
[0083] A search unit 501, configured to search for a child node with the smallest amount of data storage among all child nodes of the root node of the distributed file system, wherein the child node of the next level includes a routing device node and / or a server node ;
[0084] The first storage unit 502 is configured to store the data currently to be stored in the found server node when the next-level child node with the smallest amount of data storage is a server node;
[0085] The second storage unit 503 is configured to, when the nex...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com