Distributed deployment method and device for file, electronic device and storage medium
A distributed and file technology, applied in electrical components, transmission systems, etc., can solve the problems of frequent IP address update, extra workload and load, etc., to reduce workload and load.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] See figure 1 , figure 1 It is a flow chart of a file distributed deployment method provided by the embodiment of this application, which includes the following steps:
[0049] S101: Receive a file deployment task, and decompose the file deployment task into multiple sub-deployment tasks;
[0050] The dispatch center first receives the file deployment task from the upper layer, and the file deployment task received at this time is complete, corresponding to the complete file to be deployed. Since this application is applied to a distributed storage network scenario consisting of a large number of shared nodes, this step aims to decompose the complete file deployment task into multiple sub-deployments, and assign each sub-deployment task to different Shared nodes are used to implement distributed deployment of files. In this way, file fragments can not only be pulled from multiple shared nodes at the same time, but also better capacity balance can be achieved.
[0051]...
Embodiment 2
[0064] See figure 2 , figure 2 It is a flow chart of a method for assigning each sub-deployment task to each shared node in the file distributed deployment method provided by the embodiment of this application. The method for classifying the attributes of the nodes to increase the uniformity of the distribution of the same file fragments includes the following steps:
[0065] S201: Determine the target deployment quantity of each sub-deployment task according to preset redundancy rules;
[0066] This step is to determine the target number of deployments for each sub-deployment task according to the preset redundancy rules. Following the example given above, when the preset redundancy rules are set to 10, it means that there are 5 file fragments that constitute a complete file All need to be allocated to 10 shared nodes, that is to say, a total of 5×10=50 file fragments need to be deployed in each shared node.
[0067] S202: Allocate a first quantity of the same sub-deploy...
Embodiment 3
[0075] See image 3 , image 3 A sequence diagram of distributed deployment of files between the dispatch center and shared nodes provided for the embodiment of this application, which is different from the previous two descriptions of the solution provided by this application from the perspective of the dispatch center. This embodiment will include The sequence diagram of two execution subjects is used to better and clearly describe the interaction process between each shared node and the dispatch center:
[0076] 1. File deployment task:
[0077] The dispatch center receives the file deployment task from the upper layer, and expects to deploy the file corresponding to the file deployment task in the distributed storage network composed of shared nodes through the dispatch center.
[0078] 2. Task breakdown:
[0079] The scheduling center decomposes the file deployment task corresponding to the complete file into multiple sub-deployment tasks, and each sub-deployment task ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


