CN102055805A - Device and method for point-to-point (P2P) downloading based on internetwork protocol standards - Google Patents

Device and method for point-to-point (P2P) downloading based on internetwork protocol standards Download PDF

Info

Publication number
CN102055805A
CN102055805A CN201010616236XA CN201010616236A CN102055805A CN 102055805 A CN102055805 A CN 102055805A CN 201010616236X A CN201010616236X A CN 201010616236XA CN 201010616236 A CN201010616236 A CN 201010616236A CN 102055805 A CN102055805 A CN 102055805A
Authority
CN
China
Prior art keywords
download
network
client
downloading
download client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201010616236XA
Other languages
Chinese (zh)
Inventor
孙翀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Corp filed Critical TCL Corp
Priority to CN201010616236XA priority Critical patent/CN102055805A/en
Publication of CN102055805A publication Critical patent/CN102055805A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the technical field of network downloading, and in particular relates to a device and method for point-to-point (P2P) downloading based on internetwork protocol standards. The device for point-to-point (P2P) downloading based on the internetwork protocol standards comprises a storage device, at least one downloading client, a network detector and a task distributor, wherein the storage device is used for storing network resources downloaded by the downloading client; the network detector and the task distributor are respectively connected with the downloading client; the network detector is used for detecting and calculating the network resource downloading speeds of different downloading clients; the task distributor is used for distributing downloading tasks in accordance with the network resource downloading speeds counted by the network detector, of the different downloading clients; and the downloading clients are used for downloading in accordance with the downloading tasks distributed by the task distributor. The technical scheme in the invention has the advantages or beneficial effects that the downloading capacity of the downloading clients for the resources is improved maximally, and the whole downloading speed is strengthened maximally.

Description

A kind of across a network consensus standard carries out the apparatus and method that P2P downloads
Technical field
The invention belongs to the download technology field, relate in particular to a kind of across a network consensus standard and carry out the apparatus and method that P2P downloads.
Background technology
Along with development of internet technology, P2P (Point to Point, point-to-point) to download be a kind of popular application, it mainly is to carry out on computers that P2P in the past downloads, enhancing along with electronic equipment for consumption computing capability and network bandwidth ability, the application of P2P also begins to come into vogue on CE (consumer electronics) equipment, with the player is example, the application of some P2P downloads that modern media player is substantially all integrated, as a sudden peal of thunder, BT, electric donkey or the like, that have even all P2P down load application all are integrated on the equipment, appoint the family and select to use.There are electric thunder, fleeing hare and Bitcomet etc. to stride agreement and download software, can a file wait with BT+eMule+Http+Ftp simultaneously and download.
At present, in order to download content networking resource more efficiently, can take schemes such as speed of download detection or optimization, as asking in the Chinese patent No. 200810304789.4 a kind of network download method is disclosed, it limits by downloading task, speed of download detects, downloading task priority, downloading mode is told each other, modes such as fault processing mechanism are down loading network resource more efficiently, but, there is following defective in this download scenarios: different download protocols have his own strong points, this makes when downloading some resource, most effective in agreement A, fastest, but the other resource is exactly the fastest at agreement B medium velocity, an even same media resource, possible first half can carry out the P2P exchange in the virtual network that agreement A forms object is a lot, latter half may be downloaded better in the virtual network that agreement B forms, and so just causes various download protocols that the download capabilities of different resource can't farthest be utilized, thus the whole speed of download of influence.
Summary of the invention
The invention provides a kind of across a network consensus standard and carry out the apparatus and method that P2P downloads, be intended to solve prior art and can not farthest utilize the download capabilities of various download protocols, thereby influence the problem of whole speed of download different resource.
The present invention is achieved in that a kind of across a network consensus standard carries out the device that P2P downloads, comprise memory device, at least one download client, network probe and task distributor, described memory device is used to store the Internet resources that download client is downloaded, described network probe links to each other with download client respectively with task distributor, described network probe is used to detect and add up the Internet resources speed of download of different download client, described task distributor is used for carrying out the downloading task division of labor according to the Internet resources speed of download of the different download client of network probe statistics, and described download client is used for downloading according to the downloading task that task distributor is distributed.
Technical scheme of the present invention also comprises: described network probe is used for detecting whether installed download client, and when having detected at least one download client, download client of random choose is as starter.
Technical scheme of the present invention also comprises: select the downloaded files resource to be divided into the section of N equal portions the user, based on N equal portions section file resource, file resource is divided into M zone, as the M part section corresponding that download of the download client of starter with each zone described M zone; Described network probe sends the request of downloading M section after receiving M the section of downloading as the download client of starter to whole download client.
Technical scheme of the present invention also comprises: described network measuring device carries out timing, counts to download M the corresponding different clients that section is the fastest of each zone, and statistics is sent to task distributor.
Another technical scheme that the present invention takes is: a kind of across a network consensus standard carries out the method that P2P downloads, and comprising:
Step a: the user selects down loading network resource;
Step b: respectively the speed of download of each download client is carried out timing, add up the Internet resources speed of download of different download client;
Step c: carry out the downloading task division of labor according to the speed of download of each download client;
Steps d: each download client is downloaded according to the downloading task of distributing.
Technical scheme of the present invention also comprises: also further comprise between described step a and described step b: check already installed download client, when having detected a plurality of download client, download client of random choose is as starter.
Technical scheme of the present invention also comprises: in described step a, described Internet resources are file resource, described step b also comprises: select the downloaded files resource to be divided into the section of N equal portions the user, based on N equal portions section file resource, file resource is divided into M zone, downloads respectively by download client.
Technical scheme of the present invention also comprises: described step b also comprises: the section of a 1/N is determined in each zone from M zone randomly, and to the request of downloading the section of the 1/N that determines as download client transmission each zone from M zone of starter, after M section of download client download as starter, will download the result and return to the network measuring device.
Technical scheme of the present invention also comprises: described step b also further comprises: after the network measuring device is received M section, download 1/N the request of determining of cutting into slices to each zone that whole download client sends simultaneously from M zone, count the fastest download client of each section of down loading network resource.
Technical scheme of the present invention also comprises: in described step b, the Internet resources speed of download of adding up different download client is: the speed of download to download client is repeatedly added up, and averages then.
Technical scheme of the present invention has following advantage or beneficial effect: the device and method that across a network consensus standard of the present invention carries out the P2P download cuts into different sections and zone with file resource, detect network download speed by network probe, give the execution of desynchronizing of the abundantest P2P virtual network of corresponding download resource with the download in each zone of file, across a network consensus standard of the present invention carries out device and method that P2P downloads download client is risen to maximized degree to the download capabilities of resource, has improved whole speed of download to greatest extent.
Description of drawings
Accompanying drawing 1 is the structural representation that across a network consensus standard of the present invention carries out the device of P2P download;
Accompanying drawing 2 is flow charts that across a network consensus standard of the present invention carries out the method for P2P download.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Seeing also Fig. 1, is the structural representation that across a network consensus standard of the present invention carries out the device of P2P download.The device that across a network consensus standard of the present invention carries out the P2P download comprises memory device, at least one download client, network probe and task distributor.Memory device is used to store the Internet resources that download client is downloaded, network probe links to each other with download client respectively with task distributor, network probe is used to detect and add up the Internet resources speed of download of different download client, task distributor is used for carrying out the downloading task division of labor according to the Internet resources speed of download of the different download client of network probe statistics, and download client is used for downloading according to the downloading task that task distributor is distributed.
In embodiment of the present invention, the device that the across a network consensus standard carries out the P2P download comprises first download client, second download client and the 3rd download client, these download client can be sudden peals of thunder, BT, the electricity donkey, softwares such as PT, wherein, first download client, second download client belongs to different download protocol standards respectively with the 3rd download client, by first download client, the P2P virtual network that second download client and the 3rd download client are formed respectively is separate each other, for example, common a kind of situation is, a same downloaded resources, in virtual network A, exist, in virtual network B, exist wherein too.First download client, second download client and the 3rd download client are connected memory device, memory device is used to store the Internet resources that first download client, second download client and the 3rd download client are downloaded, and first download client, second download client and the 3rd download client also link to each other with network probe, task distributor respectively.
Network probe is used for detecting whether installed download client, and when having detected at least one download client, download client of random choose is used some sections of the download client down loading network resource of random choose as starter; Select the downloaded files resource to be divided into the section of N equal portions the user,, file resource is divided into M zone, as the M part section corresponding that download of the download client of starter with each zone described M zone based on N equal portions section file resource; The section of a 1/N is determined in the download client of random choose each zone in M zone randomly, download client as starter is issued in each zone request of the section of 1/N randomly in M the zone of obtaining, to cut into slices to download as the download client of starter and return to network probe, after the network measuring device has been received M section, to send the request of downloading M section to whole download client, and be meant here each download client is all downloaded M section; The network measuring device carries out timing, counts to download M the different clients that section is fastest, wherein, statistics can be carried out repeatedly, averages then, for example supposes M=3, then first download client, second download client and the 3rd download client are all downloaded M1 simultaneously, M2, M3 section; Count and download the fastest client of M1 section, download the fastest client of M2 section, download the fastest client of M3 section.In embodiment of the present invention, network probe is a detecting module.
Task distributor is used for carrying out the downloading task division of labor according to the network probe statistics, the downloading task of the whole subregion that download section is corresponding is distributed to and is downloaded the fastest client of this section, for example, what download M1 section was fastest is first download client, the downloading task of M1 section place subregion is then distributed to first download client so, by that analogy, with the downloading task in M of whole file resource zone each download client assign.Certainly, it is the same to download the speed of download that has a plurality of clients with the individual regional fastest client of section, at this moment can assign the task to one of them client at random by task distributor.
Seeing also Fig. 2, is the flow chart that across a network consensus standard of the present invention carries out the method for P2P download.The method that across a network consensus standard of the present invention carries out the P2P download comprises: after the user selects down loading network resource, respectively the speed of download of each download client is carried out timing, add up the Internet resources speed of download of different download client; Carry out the downloading task division of labor according to the speed of download of each download client; Each download client is downloaded according to the downloading task of distributing.Specifically may further comprise the steps:
Step 10: the user selects down loading network resource, and wherein Internet resources comprise file resource or non-file resource;
Step 20: check already installed download client, when having detected a plurality of client, client of random choose is as starter;
Wherein, download a year client and be at least one, in embodiment of the present invention, download a year client and comprise first download client, second download client and the 3rd download client, these download client can be sudden peals of thunder, BT, the electricity donkey, softwares such as PT, wherein, first download client, second download client belongs to different download protocol standards respectively with the 3rd download client, by first download client, the P2P virtual network that second download client and the 3rd download client are formed respectively is separate each other, for example, common a kind of situation is, a same downloaded resources, in virtual network A, exist, in virtual network B, exist wherein too.
Step 30: select the downloaded files resource to be divided into the N equal portions user,, file resource is divided into M zone based on these N equal portions;
Wherein, the equal portions of file resource and zone can be divided according to the size of file resource and the quantity of download client, and there is the initial address and the end address of arranging in order in M zone.
Step 40: the section of a 1/N is determined in each zone from M zone randomly, and to the request of downloading the section of the 1/N that determines as download client transmission each zone from M zone of starter;
Wherein, initial address and the end address of each section in whole file resource all is confirmable.
Step 50: download M section as the download client of starter, and will download the result and return to the network measuring device;
Step 60: after the network measuring device has been received M section, send the request of downloading M section simultaneously to whole download client;
In this step, three download client for example are installed, M=3 then, send the request of downloading section to these three download client so simultaneously, make three download client all download 3 identical sections simultaneously, promptly first download client, second download client, the 3rd download client are all downloaded M1, M2, M3 section simultaneously.
Step 70: respectively the speed of download of each download client is carried out timing, count and download the fastest client of each section;
In this step, if three download client are arranged, M=3 then, count respectively and download the fastest client of M1 section, download the fastest client of M2 section and download the fastest client of M3 section, in addition, also can repeatedly add up the speed of download of download client, average then, like this influence that can avoid network fluctuation that speed of download is brought.
Step 80: carry out the downloading task division of labor according to the speed of download of different download client, the downloading task in the whole zone that download section is corresponding is distributed to the client of downloading this section;
In this step, suppose to download the M1 section fastest be first download client, the downloading task of M1 section place subregion is then distributed to first download client so, by that analogy, M of whole file resource regional downloading task each download client in device end assigned.
Step 90: each download client is downloaded according to the downloading task of distributing.
The device and method that across a network consensus standard of the present invention carries out the P2P download cuts into different sections and zone with file resource, detect network download speed by network probe, give the execution of desynchronizing of the abundantest P2P virtual network of corresponding download resource with the download in each zone of file, across a network consensus standard of the present invention carries out device and method that P2P downloads download client is risen to maximized degree to the download capabilities of resource, has improved whole speed of download to greatest extent.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an across a network consensus standard carries out the device that P2P downloads, comprise memory device and at least one download client, described memory device is used to store the Internet resources that download client is downloaded, it is characterized in that, also comprise network probe and task distributor, described network probe links to each other with download client respectively with task distributor, described network probe is used to detect and add up the Internet resources speed of download of different download client, described task distributor is used for carrying out the downloading task division of labor according to the Internet resources speed of download of the different download client of network probe statistics, and described download client is used for downloading according to the downloading task that task distributor is distributed.
2. across a network consensus standard according to claim 1 carries out the device that P2P downloads, it is characterized in that, described network probe is used for detecting whether installed download client, and when having detected at least one download client, download client of random choose is as starter.
3. across a network consensus standard according to claim 2 carries out the device that P2P downloads, it is characterized in that, select the downloaded files resource to be divided into the section of N equal portions the user, based on N equal portions section file resource, file resource is divided into M zone, as the M part section corresponding that download of the download client of starter with each zone described M zone; Described network probe sends the request of downloading M section after receiving M the section of downloading as the download client of starter to whole download client.
4. across a network consensus standard according to claim 3 carries out the device that P2P downloads, it is characterized in that, described network measuring device carries out timing, counts to download M the corresponding different clients that section is the fastest of each zone, and statistics is sent to task distributor.
5. an across a network consensus standard carries out the method that P2P downloads, and comprising:
Step a: the user selects down loading network resource;
Step b: respectively the speed of download of each download client is carried out timing, add up the Internet resources speed of download of different download client;
Step c: carry out the downloading task division of labor according to the speed of download of each download client;
Steps d: each download client is downloaded according to the downloading task of distributing.
6. across a network consensus standard according to claim 5 carries out the method that P2P downloads, it is characterized in that, between described step a and described step b, also further comprise: check already installed download client, when having detected a plurality of download client, download client of random choose is as starter.
7. across a network consensus standard according to claim 6 carries out the method that P2P downloads, it is characterized in that, in described step a, described Internet resources are file resource, described step b also comprises: select the downloaded files resource to be divided into the section of N equal portions the user, based on N equal portions section file resource, file resource is divided into M zone, download respectively by download client.
8. across a network consensus standard as claimed in claim 7 carries out the method that P2P downloads, it is characterized in that, described step b also comprises: the section of a 1/N is determined in each zone from M zone randomly, and to the request of downloading the section of the 1/N that determines as download client transmission each zone from M zone of starter, after M section of download client download as starter, will download the result and return to the network measuring device.
9. across a network consensus standard as claimed in claim 8 carries out the method that P2P downloads, it is characterized in that, described step b also further comprises: after the network measuring device is received M section, download 1/N the request of determining of cutting into slices to each zone that whole download client sends simultaneously from M zone, count the fastest download client of each section of down loading network resource.
10. carry out the method that P2P downloads as each described across a network consensus standard of claim 5 to 9, it is characterized in that, in described step b, the Internet resources speed of download of adding up different download client is: the speed of download to download client is repeatedly added up, and averages then.
CN201010616236XA 2010-12-30 2010-12-30 Device and method for point-to-point (P2P) downloading based on internetwork protocol standards Pending CN102055805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010616236XA CN102055805A (en) 2010-12-30 2010-12-30 Device and method for point-to-point (P2P) downloading based on internetwork protocol standards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010616236XA CN102055805A (en) 2010-12-30 2010-12-30 Device and method for point-to-point (P2P) downloading based on internetwork protocol standards

Publications (1)

Publication Number Publication Date
CN102055805A true CN102055805A (en) 2011-05-11

Family

ID=43959724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010616236XA Pending CN102055805A (en) 2010-12-30 2010-12-30 Device and method for point-to-point (P2P) downloading based on internetwork protocol standards

Country Status (1)

Country Link
CN (1) CN102055805A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856531A (en) * 2012-12-05 2014-06-11 中国科学院深圳先进技术研究院 Local area network downloading device and method based on multiple collaborators
CN105187950A (en) * 2014-05-29 2015-12-23 中国移动通信集团内蒙古有限公司 Video file playing method, equipment and system
CN108683693A (en) * 2018-03-19 2018-10-19 北京中科闻歌科技股份有限公司 A kind of realization method and system of multielement high-efficiency download service
CN111193772A (en) * 2019-12-05 2020-05-22 商客通尚景科技(上海)股份有限公司 File downloading method and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339785B1 (en) * 1999-11-24 2002-01-15 Idan Feigenbaum Multi-server file download
US20020178261A1 (en) * 2001-05-25 2002-11-28 Chang Frederic Robert Method of improving the reliability of peer-to-peer network downloads
CN1425990A (en) * 2001-12-13 2003-06-25 杨磊 File cocurrent downloading technology for Internet multiple servers
CN101437044A (en) * 2008-11-28 2009-05-20 中兴通讯股份有限公司 Method and system for downloading file by point-to-point network technique based on sliced sheet
CN101459687A (en) * 2008-06-13 2009-06-17 青岛海信电子产业控股股份有限公司 Network set-top box and method for network downloading, file publishing
CN101478556A (en) * 2007-12-31 2009-07-08 突触计算机系统(上海)有限公司 Method and apparatus for downloading peer-to-peer transmitted data slice
CN101577695A (en) * 2008-05-09 2009-11-11 上海未来宽带技术及应用工程研究中心有限公司 Method for downloading data based on P2P technology
CN101741883A (en) * 2008-11-27 2010-06-16 Tcl集团股份有限公司 Method and system for enhancing network download speed of CE equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339785B1 (en) * 1999-11-24 2002-01-15 Idan Feigenbaum Multi-server file download
US20020178261A1 (en) * 2001-05-25 2002-11-28 Chang Frederic Robert Method of improving the reliability of peer-to-peer network downloads
CN1425990A (en) * 2001-12-13 2003-06-25 杨磊 File cocurrent downloading technology for Internet multiple servers
CN101478556A (en) * 2007-12-31 2009-07-08 突触计算机系统(上海)有限公司 Method and apparatus for downloading peer-to-peer transmitted data slice
CN101577695A (en) * 2008-05-09 2009-11-11 上海未来宽带技术及应用工程研究中心有限公司 Method for downloading data based on P2P technology
CN101459687A (en) * 2008-06-13 2009-06-17 青岛海信电子产业控股股份有限公司 Network set-top box and method for network downloading, file publishing
CN101741883A (en) * 2008-11-27 2010-06-16 Tcl集团股份有限公司 Method and system for enhancing network download speed of CE equipment
CN101437044A (en) * 2008-11-28 2009-05-20 中兴通讯股份有限公司 Method and system for downloading file by point-to-point network technique based on sliced sheet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱骏,吕智慧,刘毕升: "基于文件分片的P2P视频点播系统片断选择", 《计算机工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856531A (en) * 2012-12-05 2014-06-11 中国科学院深圳先进技术研究院 Local area network downloading device and method based on multiple collaborators
CN105187950A (en) * 2014-05-29 2015-12-23 中国移动通信集团内蒙古有限公司 Video file playing method, equipment and system
CN105187950B (en) * 2014-05-29 2018-09-25 中国移动通信集团内蒙古有限公司 A kind of method, apparatus and system that video file plays
CN108683693A (en) * 2018-03-19 2018-10-19 北京中科闻歌科技股份有限公司 A kind of realization method and system of multielement high-efficiency download service
CN108683693B (en) * 2018-03-19 2020-10-23 北京中科闻歌科技股份有限公司 Method and system for realizing multi-element efficient downloading service
CN111193772A (en) * 2019-12-05 2020-05-22 商客通尚景科技(上海)股份有限公司 File downloading method and server

Similar Documents

Publication Publication Date Title
EP3211857B1 (en) Http scheduling system and method of content delivery network
CN102882939B (en) Load balancing method, load balancing equipment and extensive domain acceleration access system
CN101247402B (en) Multimedia files downloading and broadcasting system and method
CN107624233B (en) VPN transmission tunnel scheduling method and device and VPN client server
CN106534244B (en) Scheduling method and device of proxy resources
CN102263828A (en) Load balanced sharing method and equipment
CN104202362A (en) Load balance system and content distribution method and device thereof, and load balancer
CN109151070B (en) Block chain-based service scheduling method and electronic device for point-to-point CDN (content delivery network)
CN102055805A (en) Device and method for point-to-point (P2P) downloading based on internetwork protocol standards
WO2015014295A1 (en) Multi-source download scheduling
CN102394880A (en) Method and device for processing jump response in content delivery network
CN103345498A (en) Webpage loading method, device and system based on transit server
CN113411404A (en) File downloading method, device, server and storage medium
CN110213349A (en) A kind of HTTP dispatching method and device
CN102868938B (en) A kind of method and apparatus for being used to obtain segmented video files in network
CN114510711A (en) Method, device, medium and computer equipment for preventing CC attack
CN111147330A (en) Network quality evaluation method and device, storage medium and processor
CN103179162B (en) A kind of method and system of output journal
CN106570011B (en) Distributed crawler URL seed distribution method, scheduling node and capturing node
CN103916681A (en) Streaming media content playing method, device and system
CN107992416B (en) Method and device for determining webpage time delay
CN108111567A (en) Realize the uniform method and system of server load
KR101252956B1 (en) System and method for loading web page using multiple path in multiple interface circumstances
CN109032787B (en) Task allocation method and device
CN113094437B (en) Method and system for synchronizing state data of blockchain based on Rsync

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110511