CN102340515A - Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain - Google Patents

Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain Download PDF

Info

Publication number
CN102340515A
CN102340515A CN201010228778XA CN201010228778A CN102340515A CN 102340515 A CN102340515 A CN 102340515A CN 201010228778X A CN201010228778X A CN 201010228778XA CN 201010228778 A CN201010228778 A CN 201010228778A CN 102340515 A CN102340515 A CN 102340515A
Authority
CN
China
Prior art keywords
files
blocks
download
territory
node
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.)
Granted
Application number
CN201010228778XA
Other languages
Chinese (zh)
Other versions
CN102340515B (en
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201010228778.XA priority Critical patent/CN102340515B/en
Publication of CN102340515A publication Critical patent/CN102340515A/en
Application granted granted Critical
Publication of CN102340515B publication Critical patent/CN102340515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside a domain. The method comprises the steps of: establishing a link for requesting downloading by a node inside the domain and a Peer corresponding to a file block having a P2P file after a user submits a request for downloading the P2P file; deleting a corresponding file block in a file block queue by the node inside the domain according to the file block currently obtained by the node inside the domain after a period of file block downloading time; and obtaining file blocks which are obtained by other nodes by the node inside the domain to complete the downloading of the P2P file. According to the method and system disclosed by the invention, the corresponding file block in the node inside the domain and a request queue link is correspondingly deleted by utilizing network topology information provided by an operator and by firstly choosing file block resources downloaded by the node inside the domain, so as to realize effective traffic grooming and control of the P2P traffic outside the domain, the bandwidth resource is effectively saved, and the bandwidth utilization rate is improved.

Description

Dynamically adjustment P2P node is to reduce the method and system of the overseas flow of P2P
Technical field
The present invention relates to communication technical field, relate in particular to a kind of dynamic adjustment P2P node (Peer) to reduce the method and system of the overseas flow of P2P.
Background technology
In P2P uses, for example download, Online Video (follow-up is that example describes with the P2P download), the Tracker that P2P user uses from this P2P obtains the Peer information that this P2P uses, in the P2P downloading process, to the selection meeting dynamic change of Peer; But whether enough the reason that dynamically changes Peer mainly is the speed of download height of considering this Peer, and whether Peer is online always or the like in the downloading process.Do not knowing under the situation of network topology that P2P uses also can only carry out the adjustment of Peer with this external parameter.
Progressively cause at present the P4P technology of concern; Considered that P2P uses and the combining of network topological information, and in the selection course of Peer, just can select the Peer in the territory so consciously; For example under the identical condition of other parameter (on/speed of download), to reduce overseas P2P flow.
But present P4P is technological, and mainly still a kind of Peer of static state selects, and just when download initial stage, selection Peer, selects the Peer in the territory as far as possible; If download in the initial stage territory Peer so just seldom, it is just very limited that so this static P4P reduces the effect of overseas P2P flow.
Conclusion is got up, and there are following shortcoming in existing P2P and P4P application process and system:
The first, under the situation of the information that does not have network topology, dynamically adjust Peer in the P2P downloading process and just can only the P2P flow be difficult to carry out specific aim basically dredge according to external parameter;
If second when just selecting Peer in the early stage, utilize and the grid of reference topology information, then can not more effectively be utilized in resource in the territory that increases gradually in the downloading process, to reduce overseas P2P flow to greatest extent.
Based on this; The present invention proposes a kind of in the P2P downloading process; The network topological information that utilizes operator to provide, rich according to Peer resource in the territory, dynamically the Peer to P2P User adjusts; Utilize the resource that Peer had in the territory to greatest extent, to reduce overseas P2P flow as far as possible.
In sum, how in the P2P downloading process, the network topological information that utilizes operator to provide, and effectively utilize Peer resource in the territory, and dynamically P2P Peer is adjusted, become the technical problem that this area needs to be resolved hurrily to reduce overseas P2P flow as far as possible.
Summary of the invention
The technical problem that the present invention will solve provides a kind of dynamic adjustment P2P node to reduce the system and method for the overseas flow of P2P, through choice of dynamical P2P node, with realization the P2P flow is effectively dredged and is controlled.
Further, the present invention under the situation that the resource of Peer progressively increases in the territory, gradually reduces the request quantity to overseas resource in the P2P downloading process, adjusts selected Peer simultaneously in real time, with the overseas P2P flow of further minimizing.
Further, the Peer adjustment is experienced not influence the P2P user's download.
One aspect of the present invention provides a kind of dynamic adjustment P2P node to reduce the method for the overseas flow of P2P; This method comprises: step 1; After the user submitted to and downloads the P2P file request, the territory interior nodes was set up being connected of request download with the Peer that has the formation of P2P file respective file piece; After a blocks of files download time section, step 2, territory interior nodes be according to the current acquired blocks of files of this territory interior nodes, corresponding blocks of files in the formation of deleted file piece; Step 3, territory interior nodes be according to the acquired blocks of files of other node in the territory, corresponding blocks of files in the formation of deleted file piece; Step 4, territory interior nodes are obtained the acquired blocks of files of other node to accomplish the download of P2P file.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method that reduces the overseas flow of P2P, this method also comprises: after the territory interior nodes is obtained the acquired blocks of files of other node, judge whether the P2P file is downloaded to finish; If no, then circulate execution in step 2, step 3 and step 4.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method for the overseas flow of minimizing P2P; This method also comprises: step 5; If after not having blocks of files to be downloaded in the blocks of files formation, then remove being connected of said territory interior nodes and the Peer that has said blocks of files formation.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method for the overseas flow of minimizing P2P; The business of having relatively high expectations for real-time; If interior nodes blocks of files to be downloaded in territory also is other node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then the territory interior nodes is accomplished the download of this document piece separately.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method for the overseas flow of minimizing P2P; This method also comprises: for the less demanding business of non real-time property; If interior nodes blocks of files to be downloaded in territory also is other node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then select the higher node of speed of download to accomplish download to this document piece; And the territory interior nodes is obtained this document piece again from the higher node of speed of download.
Another aspect of the present invention provides a kind of dynamic adjustment P2P node to reduce the system of the overseas flow of P2P, and this system comprises: a plurality of territories interior nodes; Wherein the territory interior nodes comprises: download module is used to receive the download P2P file request that the user submits to, and sets up being connected of request download with the Peer that has the formation of P2P file corresponding file piece; From blocks of files formation file in download piece and obtain the acquired blocks of files of other node in the territory, there is not blocks of files to be downloaded up to the blocks of files formation; Adjusting module, be used for every through after the blocks of files download time section, according to the current acquired blocks of files of the download module of same territory interior nodes, corresponding blocks of files in the formation of deleted file piece; And according to the acquired blocks of files of the download module of other node in the territory, corresponding blocks of files in the formation of deleted file piece.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the system that reduces the overseas flow of P2P, download module also is used for after the blocks of files formation does not have blocks of files to be downloaded, removes and being connected of the Peer that has the formation of this document piece.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the system of the overseas flow of minimizing P2P; The business of having relatively high expectations for real-time; If the download module of this territory interior nodes blocks of files to be downloaded also is the download module of other a node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then accomplish the download of this document piece separately by download module.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the system of the overseas flow of minimizing P2P; For the less demanding business of non real-time property; If the download module of this territory interior nodes blocks of files to be downloaded also is the download module of other a node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then accomplish download to this document piece by the download module of the higher node of speed of download; And the download module of this territory interior nodes obtains this document piece again from the download module of the higher node of speed of download.
Dynamic adjustment P2P node provided by the invention is to reduce the system and method for the overseas flow of P2P; The network topological information that utilizes operator to provide, through dynamic adjustment and selection to node, Peer downloaded files piece resource in the promptly first-selected territory; Correspondingly delete the respective file piece in the interior nodes request queue connection of territory; Realization is effectively dredged and is controlled the overseas flow of P2P, thereby has effectively practiced thrift bandwidth resources, has improved bandwidth availability ratio.
Description of drawings
Fig. 1 illustrates a kind of dynamic adjustment P2P node that the embodiment of the invention the provides flow chart with the method that reduces the overseas flow of P2P;
Fig. 2 illustrates the initial condition sketch map that the P2P file is downloaded;
Fig. 3 illustrates the view of downloading through P2P file after the blocks of files download time section;
Fig. 4 illustrates and adopts dynamic adjustment P2P node provided by the invention dynamically to adjust the view that node connects with the method that reduces the overseas flow of P2P;
Fig. 5 illustrate adopt dynamic adjustment P2P node provided by the invention with the method that reduces the overseas flow of P2P from the territory interior nodes obtain the view of blocks of files;
Fig. 6 illustrates the flow chart of dynamic adjustment P2P node provided by the invention with another embodiment of the method for the overseas flow of minimizing P2P;
Fig. 7 illustrates the flow chart of dynamic adjustment P2P node provided by the invention with another embodiment of the method for the overseas flow of minimizing P2P;
Fig. 8 illustrates a kind of dynamic adjustment P2P node that the embodiment of the invention the provides structural representation with the system that reduces the overseas flow of P2P.
Embodiment
With reference to the accompanying drawings the present invention is more comprehensively described, exemplary embodiment of the present invention wherein is described.
Fig. 1 illustrates a kind of dynamic adjustment P2P node that the embodiment of the invention the provides flow chart with the method that reduces the overseas flow of P2P.
As shown in Figure 1, dynamically to adjust the P2P node and comprise step 102 with the method 100 that reduces the overseas flow of P2P, the territory interior nodes is set up being connected of request download with the Peer that has the formation of P2P file respective file piece.So that two P2P user node P1, P2 to be arranged in certain territory is that example describes, and the P2P file is divided into 5 blocks of files, and P2P Peer S1, S2, S3, S4 have the different masses of this document respectively.Because Peer does not have resource in the initial stage territory; Continue to use the realization mechanism that current P2P/P4P uses: P2P Peer is according to the own required blocks of files of .track file decision; The initial condition that the P2P file is downloaded is as shown in Figure 2; P1, P2 can only connect respectively with overseas S1, S2, S3, S4, to obtain resource needed.Specifically; After the user submits to and downloads the P2P file request; Territory interior nodes P1 asks being connected of download with Peer S1 that has two blocks of files of P2P file (comprising blocks of files 3,2,5) and Peer S2 (comprising blocks of files 4,1) foundation respectively, and territory interior nodes P2 sets up being connected of request download with PeerS3 that has two blocks of files of P2P file (comprising blocks of files 1,2,4) and Peer S4 (comprising blocks of files 5,3) respectively.
Step 104, territory interior nodes are according to the current acquired blocks of files of this territory interior nodes, and corresponding blocks of files in the formation is downloaded in deletion.As shown in Figure 3, after a blocks of files download time section, node P1 is file in download piece 5 from Peer respectively, from Peer S2, has downloaded blocks of files 1.Blocks of files of the every increase of Peer in the territory; Then delete the corresponding blocks in the overseas download request formation of Peer in this territory, then between node P1 and Peer S1 in the connection requests formation, only remaining blocks of files 2,3; Between P1 and Peer S2 in the connection requests formation, only remaining blocks of files 4.Simultaneously, node P2 is file in download piece 4 from Peer S3 respectively, from Peer S4, has downloaded blocks of files 3; Between node P2 and Peer S3 in the connection requests formation, only remaining blocks of files 1,2, between P2 and Peer S4 in the connection requests formation, only remaining blocks of files 5.
Step 106, territory interior nodes are according to the acquired blocks of files of other node in the territory, and corresponding blocks of files in the formation is downloaded in deletion.At first need to prove: present P4P scheme, node P1, P2 also will continue to obtain other blocks of files that it lacks from S1, S2, S3, S4, and for example node P1 also will obtain blocks of files 2 and 3 from S1, from S2, obtains blocks of files 4; And technical scheme provided by the invention dynamic adjustment P2P node in the P2P downloading process, i.e. blocks of files of the every increase of the Peer territory in is then deleted the corresponding blocks of interior other Peer of same area in the overseas download request formation; Specifically, be exactly in above-mentioned four request queues, the resource that has obtained in the deletion territory, as shown in Figure 4, because under the current state, the P1 node has obtained blocks of files 5 and 1, the P2 node obtains blocks of files 4 and 3; Therefore, for node P1, though it also lacks blocks of files 2,3,4 at present; But because territory interior nodes P2 has obtained blocks of files 4 and 3; For effectively utilizing the resource of having obtained in the territory, node P1 will need not again from overseas blocks of files 3 and 4 of obtaining, therefore this moment; Deletion of node P1 is corresponding blocks of files (blocks of files 3 of deletion P1-S1 in connecting, the blocks of files 4 during deletion P1-S2 connects) in the download request formation.Similarly, node P2 need not from node S3, to obtain blocks of files 1 according to the blocks of files that P1 obtains again, and also need not from Peer S4, obtain blocks of files 5 again; The blocks of files 1 in the download formation that is connected with S3 of deletion of node P2 correspondingly, with and the download formation that is connected with S4 in blocks of files 5.
Step 108, said territory interior nodes are obtained the acquired blocks of files of said other node, accomplish the download of P2P file.As shown in Figure 5, through being connected between node P1 and P2 (Peer connects in the territory), node P1 obtains blocks of files 3 and 4 from P2, and node P2 obtains blocks of files 1,5 from P1; For the blocks of files 2 that node P1 and P2 lack, P1 obtains from Peer S1, and P2 obtains from Peer S3, thereby accomplishes the download flow process to said P2P file All Files piece.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method that reduces the overseas flow of P2P,, then remove being connected of territory interior nodes and overseas Peer if after not having blocks of files to be downloaded in the blocks of files formation.As shown in Figure 4, according to the blocks of files that other node obtained in the territory, after the request queue resource that Peer had in the deletion territory, the data block that just need not transmit between P1 and S2, P2 and S4, at this moment can the connection between them be removed.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the method for the overseas flow of minimizing P2P; After not having blocks of files to be downloaded in the blocks of files formation; After removing the territory interior nodes and the operation that is connected that has this document piece formation Peer possibly occurring in step 104, has only a blocks of files in the promptly a certain formation; After possibly occurring in step 106, situation as shown in Figure 4; After also can occurring in step 108, promptly accomplished the download to the P2P file, deletion institute might remaining connection.
Shown in Fig. 2 according to the present invention-5; Those skilled in the art can know intuitively; If according to existing P 4P pattern, promptly in downloading process, dynamically do not adjust blocks of files and the annexation between Peer in the request queue, node P1, P2 are for obtaining complete file; Need promptly download 10 blocks of files altogether from the overseas blocks of files of obtaining separately respectively.And dynamic adjustment P2P node provided by the invention is to reduce the method for the overseas flow of P2P; For the P2P file that adopts same blocks of files dividing mode; Through the annexation of dynamic adjustment node P1, P2 and Peer, to obtain 6 blocks of files (be that node P1 obtains blocks of files 1,5,2 from overseas altogether; Node P2 obtains blocks of files 3,4,2), reduce overseas flow 40%, conserve network resources improves bandwidth availability ratio effectively, and technique effect is obvious.
Fig. 6 illustrates the flow chart of dynamic adjustment P2P node provided by the invention with another embodiment of the method for the overseas flow of minimizing P2P.
As shown in Figure 6; Dynamically adjustment P2P node comprises step 602,604,606,608,610 with the method 600 that reduces the overseas flow of P2P; Wherein step 602,604,606 and 608 can be carried out respectively and step 102 shown in Figure 1,104,106 and 108 same or analogous technology contents; For for purpose of brevity, its technology contents here repeats no more.
As shown in Figure 6, in step 608 " interior nodes is obtained the acquired blocks of files of other node in the territory " afterwards, execution in step 610 is judged whether the P2P file is downloaded to finish; If no, then circulate execution in step 604-608 to accomplish download to the P2P file.During Fig. 2-5 gave an example, the blocks of files that the P2P file is divided was less, for the bigger P2P file of data volume; The division of its blocks of files is more, therefore, needs repeatedly experience " the download time section of a blocks of files "; Correspondingly; After the download time of a blocks of files of every execution section, just need to carry out following steps " the territory interior nodes is according to the current acquired blocks of files of this territory interior nodes, corresponding blocks of files in the formation of deleted file piece; The territory interior nodes is according to the acquired blocks of files of other node in the territory, corresponding blocks of files in the formation of deleted file piece, and said territory interior nodes is obtained the acquired blocks of files of said other node ".
Fig. 7 illustrates the flow chart of dynamic adjustment P2P node provided by the invention with another embodiment of the method for the overseas flow of minimizing P2P.
As shown in Figure 7; A kind of dynamic adjustment P2P node comprises step 702,704,706,707,708,710 with the method 700 that reduces the overseas flow of P2P; Wherein step 702,704,706,708 and 710 can be carried out respectively and step 602 shown in Figure 6,604,606,608 and 610 same or analogous technology contents; For for purpose of brevity, its technology contents here repeats no more.
As shown in Figure 7, after step 706, execution in step 707, after not having blocks of files to be downloaded with being connected of certain Peer, dismounting territory interior nodes is connected with overseas Peer's.With reference to shown in Figure 4; After the resource that deletion territory interior nodes P1 and P2 are had in the request queue; The data block that just need not transmit between P1 and S2, P2 and S4 can be removed being connected between node P1 and the PeerS2 this moment, removes being connected between node P2 and the Peer S4; Simultaneously according to the network topological information that operator provided, set up that Peer is connected so that obtain resource in the territory between P1 and the P2 each other in the territory between cautious P1 and the P2.
As shown in Figure 5, the business (for example video online is watched) for real-time is had relatively high expectations if interior nodes P1 blocks of files 2 to be downloaded in territory also is other node P2 blocks of files 2 to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then territory interior nodes P1 and P2 accomplish the download of this document piece separately.Among the embodiment of dynamic adjustment P2P node provided by the invention with the method for the overseas flow of minimizing P2P; For the less demanding business of non real-time property (downloading) like simple data; If interior nodes P1 blocks of files 2 to be downloaded in territory also is other node P2 blocks of files 2 to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then select the higher node of speed of download (for example node P2) to accomplish download to this document piece 2; Interior nodes P1 in territory obtains this document piece 2 again from the higher node P2 of speed of download then.Can carry out comprehensive consideration based on characteristics such as the bandwidth of customization, current network speed and network topology structures to choosing of the higher node of speed of download.Than the execution mode shown in Fig. 1-5; The present invention provides this scheme; For the P2P file that adopts same blocks of files dividing mode, through the annexation of dynamic adjustment node P1, P2 and request queue, to obtain 5 blocks of files (be that node P1 obtains blocks of files 1,5 from overseas altogether; Node P2 obtains blocks of files 3,4,2), reduce overseas flow 50%, conserve network resources improves bandwidth availability ratio further, and technique effect is obvious.
Fig. 8 illustrates a kind of dynamic adjustment P2P node that the embodiment of the invention the provides structural representation with the system that reduces the overseas flow of P2P.
As shown in Figure 8, a kind of dynamic adjustment P2P node comprises with the system 800 that reduces the overseas flow of P2P: a plurality of territories interior nodes; Wherein the territory interior nodes comprises download module 802 and adjusting module 804.
Download module 802 is used to receive the download P2P file request that the user submits to, and sets up being connected of request download with the Peer that has P2P file respective file piece; From this Peer file in download piece and obtain the acquired blocks of files of other node in the territory, up to being connected of this Peer in do not have blocks of files to be downloaded.
Adjusting module 804 is used for whenever through after the blocks of files download time section, and according to the current acquired blocks of files of the download module of same territory interior nodes, corresponding blocks of files in the formation is downloaded in deletion; And according to download module 804 ' the acquired blocks of files of other node in the territory, corresponding blocks of files in the formation is downloaded in deletion.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the system of the overseas flow of minimizing P2P, download module also is used for after not having blocks of files to be downloaded with being connected of Peer, and dismounting is connected with this Peer's.
Among the embodiment of dynamic adjustment P2P node provided by the invention with the system of the overseas flow of minimizing P2P; The business of having relatively high expectations for real-time; If the download module of this territory interior nodes 804 blocks of files to be downloaded also are the download module 804 ' of other node in territory blocks of files to be downloaded, and are in the identical file piece download time section to be downloaded; Then accomplish the download of this document piece separately by download module (804,804 ').
Dynamic adjustment P2P node provided by the invention is to reduce the system of the overseas flow of P2P; For the less demanding business of non real-time property; If the download module of this territory interior nodes 804 blocks of files to be downloaded also are the download module 804 ' of other node in territory blocks of files to be downloaded, and are in the identical file piece download time section to be downloaded; The download of then accomplishing this document piece by the download module 804 ' of the higher node of speed of download; And the download module 804 of this territory interior nodes obtains this document piece again from the download module 804 ' of the higher node of speed of download.
With reference to the exemplary description of aforementioned the present invention, those skilled in the art can clearly know the present invention and have the following advantages:
1, dynamic adjustment P2P node provided by the invention is with an embodiment of the method and system of the overseas flow of minimizing P2P; The network topological information that utilizes operator to provide, through dynamic adjustment and selection to node, Peer downloaded files piece resource in the promptly first-selected territory; Respective file piece in correspondingly deleting the territory interior nodes and request queue being connected; Realization is effectively dredged and is controlled the overseas flow of P2P, thereby has effectively practiced thrift bandwidth resources, has improved bandwidth availability ratio.
2, dynamic adjustment P2P node provided by the invention is with an embodiment of the method and system of the overseas flow of minimizing P2P; In the P2P file download process; Under the situation that the resource that Peer obtained in the territory progressively increases; Gradually reduce request quantity, adjust selected Peer simultaneously in real time, with the overseas P2P flow of further minimizing to overseas resource.
3, dynamic adjustment P2P node provided by the invention is with an embodiment of the method and system of the overseas flow of minimizing P2P, and this scheme does not influence P2P user's normal use to the adjustment of Peer, thereby experiences for the user brings the close friend of unaware.
Description of the invention provides for example with for the purpose of describing, and is not the disclosed form that exhaustively perhaps limit the invention to.A lot of modifications and variation are obvious for those of ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment that have various modifications that the present invention's design is suitable for special-purpose.

Claims (10)

1. dynamically adjust the P2P node to reduce the method for the overseas flow of P2P for one kind, it is characterized in that said method comprises:
Step 1, after the user submitted to and downloads the P2P file request, the territory interior nodes was set up being connected of request download with the Peer that has the formation of said P2P file respective file piece;
After a blocks of files download time section,
Step 2, said territory interior nodes are deleted corresponding blocks of files in the said blocks of files formation according to the current acquired blocks of files of this territory interior nodes;
Step 3, said territory interior nodes are deleted corresponding blocks of files in the said blocks of files formation according to the acquired blocks of files of other node in the territory;
Step 4, said territory interior nodes are obtained the acquired blocks of files of said other node to accomplish the download of said P2P file.
2. method according to claim 1 is characterized in that, said method also comprises: after said territory interior nodes is obtained the acquired blocks of files of said other node, judge whether said P2P file is downloaded to finish; If no, then circulate execution in step 2, step 3 and step 4.
3. method according to claim 1 is characterized in that, said method also comprises: step 5, if after not having blocks of files to be downloaded in the said blocks of files formation, then remove being connected of said territory interior nodes and the overseas Peer that has said blocks of files formation.
4. method according to claim 3 is characterized in that, said step 5 can be carried out in step 2, step 3 and/or step 4 back.
5. method according to claim 1 is characterized in that, said method also comprises: the business of having relatively high expectations for real-time,
If interior nodes blocks of files to be downloaded in said territory also is other node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then the territory interior nodes is accomplished the download of this document piece separately.
6. method according to claim 1 is characterized in that, said method also comprises: for the less demanding business of non real-time property,
If interior nodes blocks of files to be downloaded in said territory also is other node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then select the higher node of speed of download to accomplish download to this document piece; And
Said territory interior nodes is obtained this document piece again from the higher node of said speed of download.
7. dynamically adjust the P2P node to reduce the system of the overseas flow of P2P for one kind, it is characterized in that said system comprises a plurality of territories interior nodes;
Wherein said territory interior nodes comprises
Download module is used to receive the download P2P file request that the user submits to, and sets up being connected of request download with the Peer that has the formation of said P2P file respective file piece; Download said blocks of files and obtain the acquired blocks of files of other node in the territory from said blocks of files formation, do not have blocks of files to be downloaded up to said blocks of files formation;
Adjusting module is used for whenever through after the blocks of files download time section, according to the current acquired blocks of files of the download module of same territory interior nodes, deletes in the said blocks of files formation corresponding blocks of files; And, delete corresponding blocks of files in the said blocks of files formation according to the acquired blocks of files of download module of other node in the said territory.
8. system according to claim 7 is characterized in that, said download module also is used for after said blocks of files formation does not have blocks of files to be downloaded, removes and being connected of the Peer that has said blocks of files formation.
9. system according to claim 7; It is characterized in that; Business for real-time is had relatively high expectations if the download module of this territory interior nodes blocks of files to be downloaded also is the download module of other a node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then accomplish the download of this document piece separately by said download module.
10. system according to claim 7; It is characterized in that; For the less demanding business of non real-time property; If the download module of this territory interior nodes blocks of files to be downloaded also is the download module of other a node blocks of files to be downloaded in the territory, and is in the identical file piece download time section to be downloaded; Then accomplish download to this document piece by the download module of the higher node of speed of download; And
The download module of this territory interior nodes obtains this document piece again from the download module of the higher node of said speed of download.
CN201010228778.XA 2010-07-16 2010-07-16 Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain Active CN102340515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010228778.XA CN102340515B (en) 2010-07-16 2010-07-16 Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010228778.XA CN102340515B (en) 2010-07-16 2010-07-16 Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain

Publications (2)

Publication Number Publication Date
CN102340515A true CN102340515A (en) 2012-02-01
CN102340515B CN102340515B (en) 2014-12-17

Family

ID=45516013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010228778.XA Active CN102340515B (en) 2010-07-16 2010-07-16 Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain

Country Status (1)

Country Link
CN (1) CN102340515B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079215A1 (en) * 2002-03-14 2003-09-25 Elematics, Inc. Computer network for layer three correlation with layer one topology
CN101119249A (en) * 2006-08-02 2008-02-06 华为技术有限公司 Data downloading method and system
CN101710904A (en) * 2009-12-21 2010-05-19 中国科学院计算技术研究所 P2p flow optimization method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079215A1 (en) * 2002-03-14 2003-09-25 Elematics, Inc. Computer network for layer three correlation with layer one topology
CN101119249A (en) * 2006-08-02 2008-02-06 华为技术有限公司 Data downloading method and system
CN101710904A (en) * 2009-12-21 2010-05-19 中国科学院计算技术研究所 P2p flow optimization method and system thereof

Also Published As

Publication number Publication date
CN102340515B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN101345690B (en) Contents grading memory of telecommunication level P2P network and transmission method
CN101237429B (en) Stream media living broadcasting system, method and device based on content distribution network
EP3242463B1 (en) Content distribution method and system for mobile terminal application
CN103095727B (en) P2p resource location method
CN104935640B (en) The content distribution network system and method that a kind of P2P accelerates
CN101997891B (en) Method, device and system for allocating P2P media stream
EP2005741A1 (en) Delayed downloading video service using peer-to-peer (p2p) content distribution network
CN102761599A (en) Scalable file distribution method used in distributed system
CN101753404A (en) Network resource downloading method
CN112769957B (en) Point-to-point network scheduling method and system
CN101345768A (en) Peer-to-peer network transmission method of music demand system
CN102394899A (en) On-demand system and method for improving file downloading speed
CN109120669B (en) Method, medium, and system for building block chain based on P2P internet
CN103037015A (en) Active P2P data distribution method and node client-side
KR100823730B1 (en) Method and apparatus for providing streaming service based on P2P, and streaming service system using the same
CN101557421B (en) Method for distributing network file and system thereof
CN101883124B (en) Data downloading method, device and system of on-demand system
CN102340515A (en) Method and system for dynamically adjusting P2P (Peer-to-peer) nodes to reduce P2P traffic outside domain
CN103281395B (en) A kind of data slice based on client terminal quantity divides equally selective system and method
RU2522995C2 (en) Method and apparatus for creating peer-to-peer group in peer-to-peer application and method of using peer-to-peer group
CN102868682B (en) Method and device for sharing streaming media resources
EP3022887A1 (en) Distributing data content in private networks
CA2896199C (en) Nearest peer download request policy in a live streaming p2p network
CN103037017A (en) Passive P2P data distribution method and node client-side
CN101854310A (en) P2P controlling unit and method for achieving the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant