Method for uploading and downloading distributed document and apparatus and system thereof
A distributed file and file technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of not being able to maximize the use of server and client resources, and the download speed shrinking, so as to improve resource utilization, improve Download speed, the effect of increasing fault tolerance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] A distributed file upload method, comprising the following steps:
[0071] a1) The server acquisition step is to establish a connection with the directory server to obtain a list of servers that can upload files;
[0072] a2) data uploading step, uploading the files including file fragmentation and file distribution table to the servers in the server list;
[0073] Wherein, the file distribution table records the storage information of each file fragment of the file. Each file records its distribution on each server through a file distribution table file. The file distribution table is kept on all servers participating in the distribution upload. The file distribution table file records the server where each fragment in the file is stored. For example, the following format can be used:
[0074] Server ID: Fragment ID; Fragment ID; Fragment ID; 0000; ...; Server ID: Fragment ID; Fragment ID; Fragment ID; 0000;
[0075] Assume that there are three servers in total an...
Embodiment 2
[0086] A distributed file download method, comprising the following steps:
[0087] b1) server obtaining step, establish connection with directory server, obtain the server list of downloadable file;
[0088] b2) data downloading step, downloading files including file fragmentation and file distribution table from the servers in the server list;
[0089] b3) Reconstruct the file fragments into files according to the file distribution table.
[0090] Wherein, in the step b2), the download speeds of the servers in the server list are tested first, and one or more servers with fast download speeds are selected to download files.
Embodiment 3
[0092] A distributed file upload device, comprising:
[0093] The server acquisition module is used to establish a connection with the directory server and obtain a list of servers that can upload files;
[0094] The weight calculation module is used to regularly calculate the weight of the servers in the server list;
[0095] An active server list building module, used to create an active server list according to the weight value according to the weight value calculation result;
[0096] The data upload module obtains the calculation result of the weight, and preferably sends the file fragment and file distribution table to the server with the highest weight in the active server list. Wherein, the file distribution table records the storage information of each file fragment of the file.
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