Web File Distribution Protocol

Web檔案分發協定 (Web File Distribution Protocol) ,縮寫為WFDP。是 LOOPC Software Studio 創建的,用於在Internet上以“分散式”的方式發布巨大檔案的規約方法。

What is WFDP?

Web File Distribution Protocol is independent Created by LOOPC Software Studio.
WFDP(Web File Distribution Protocol) is a file distribution protocol thatuploads or downloads large files through many different URLs ofwebsites. The core technology principle is that the publisher splitsthe specified large file into many sub-files, and then publishes allthe sub-files to any URLs address, in the meantime; the publisher needsgenerate the suffix “wfdp” file which contains basic description of thelarge file and the URL of each sub-file, offset of each sub-file, sizeof each sub-file and so on. You can download and get all the sub-filesand merge them to the original large file from Internet if the receiversoftware or the third software supports this WFDP protocol.

The functions of WFDP

Faster Distribution

Thetraditional upload and download for web file is working in one server,in this case, the server will consume huge system resources and thespeed obviously becomes very slow in this time if many people upload ordownload the same file together at the same time. However, If we areUsing WFDP, the sub-files can be distributed to different servers andmake them provide the uploading and Downloading services at one time,so that reducing the pressure on each server, achieving load balancing,and greatly increased the speed of uploading and downloading。

Free Share

Thepurpose of Internet is that interconnect networks and shareinformation, actually the vast Internet own huge free space, but thelarge part of which is not used enough. As ordinary Internet users,generally they have not their own servers, and there is always avariety of restrictions on the free space, so if you want collection,sharing large files there is no good alternative program. However, theWFDP sub-files can be packaged into any existing files, such as images,sounds, video, etc. and the sub-file size is very small, so that ifusing the WFDP, it can take full advantage a lot of Idle resources ofthe Internet and makes everyone freely access or share large files eachother at high speed.

WFDP Definition of Structure

1WFDP file usually uses “Wfdp” as the file name suffix, the content isbased on UTF-8 encoded XML strings used to record the file name, filesize, Hash value of file, last modification date, publisher and thesub-file offset, sub-file size, Hash value of sub-file, sub-file URL,and this “wfdp” file can be used as an ordinary text editor to view andedit.
summary
NetFile
filename //the original file name
FileSize // the original file size
HashCode //the MD5 of the original file
LastModifyTime //the last update date of the original file
Description? //the description information of the original file, can be null
Publisher? //the publisher of the original file,can be null
SubFiles
SubFile+
Offset //the offset value of the sub-file from the original file
Size //the size of the sub-file
HashCode //the MD5 of the sub-file
URL //the URL of the sub-file
syntax
<!ELEMENT NetFile (FileName,FileSize,HashCode,LastModifyTime,Description?,Publisher?,SubFiles)>
<!ELEMENT SubFiles (SubFile+)>
<!ELEMENT SubFile (Offset,Size,HashCode,URL)>
example
<?xml version="1.0"?>
<NetFile>
<FileName> wfdp demo.rmvb</FileName>
<FileSize>1073741824</FileSize>
<HashCode>e96ace772f9649d78ab8322edeec4ac2</HashCode>
<LastModifyTime>2009-09-22T15:26:58.578125+08:00</LastModifyTime>
<Description>WFDP (Web File Distribution Protocol) is a file distribution protocolthat uploads or downloads large files through many different URLs ofwebsites...</Description>
<Publisher>LOOPC</Publisher>
<SubFiles>
<SubFile>
<Offset>0</Offset>
<Size>1048576</Size>
<HashCode>16ea9da7bfba4f0eb302b4b62b53dec9</HashCode>
<URL>URL 1</URL>
</SubFile>
<SubFile>
<Offset>1048576</Offset>
<Size>1048576</Size>
<HashCode>782e35905ea144118163baacbb1200b3</HashCode>
<URL>URL 2</URL>
</SubFile>
………..
<SubFile>
<Offset>1072693248</Offset>
<Size>1048576</Size>
<HashCode>9346810ff88344a4bd7a4309d40524f5</HashCode>
<URL>URL N</URL>
</SubFile>
</SubFiles>
</NetFile>

相關詞條

熱門詞條

聯絡我們