Summary of the invention
The object of the present invention is to provide a kind of router, P2P data sharing system and method, can independently participate in P2P data sharing and traffic statistics are uploaded onto the server, without the support of other electronic equipment in family.
For addressing the above problem, the invention provides a kind of router, described router comprises:
Download module, for downloading sharing data by P2P agreement from a server;
Memory module, for storing described sharing data;
Upper transmission module, for and the sharing data of described storage is uploaded to other P2P participant.
Further, in said system,, described router also comprises a statistical module, the uploading data amount that is uploaded to other P2P participant for adding up it, and described uploading data amount is sent to described server.
Further, in said system, also for adding up its downloading data amount of downloading sharing data and statistics, it is uploaded to the uploading data amount of other P2P participant to described statistical module, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server.
The present invention also provides a kind of P2P data sharing system, comprising:
Server, for providing sharing data;
Router, for downloading and storage sharing data from described server by P2P agreement, and is uploaded to other P2P participant by the sharing data of described storage.
Further, in said system, the uploading data amount that described router is also uploaded to other P2P participant for adding up it, and described uploading data amount is sent to described server;
Described server, also for providing award feedback according to described uploading data amount to described router.
Further, in said system, also for adding up its downloading data amount of downloading sharing data and statistics, it is uploaded to the uploading data amount of other P2P participant to described router, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server;
Described server, also for providing award feedback according to described net contribution data volume to described router.
The present invention also provides a kind of P2P data sharing server, comprising:
Download module, for downloading sharing data by P2P agreement from a server;
Memory module, for storing described sharing data;
Upper transmission module, for being uploaded to the sharing data of described storage other P2P participant.
Further, in said system, also comprise a statistical module, for adding up described upper transmission module, be uploaded to the uploading data amount of other P2P participant, described uploading data amount is sent to described server, and from described server, obtains award feedback according to described uploading data amount.
Further, in said system, described statistical module, also for adding up described download module, download the downloading data amount of sharing data, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server, and from described server, obtain award feedback according to described net contribution data volume.
According to another side of the present invention, a kind of P2P data sharing method is provided, comprising:
Server provides sharing data;
Router is downloaded and storage sharing data from described server by P2P agreement, and the sharing data of described storage is uploaded to other P2P participant.
Further, in said method, after the sharing data of described storage being uploaded to the step of other P2P participant, also comprise:
It is uploaded to the uploading data amount of other P2P participant described router statistics, and described uploading data amount is sent to described server;
Described server provides award feedback according to described uploading data amount to described router.
Further, in said method, after the sharing data of described storage being uploaded to the step of other P2P participant, also comprise:
It is uploaded to the uploading data amount of other P2P participant the downloading data amount of its download sharing data of described router statistics and statistics, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server;
Described server provides award feedback according to described net contribution data volume to described router.
The present invention also provides another kind of P2P data sharing method, comprising:
Router is downloaded and storage sharing data from a server by P2P agreement;
Router is uploaded to other P2P participant by P2P agreement by the sharing data of described storage.
Further, in said method, router also comprises after the sharing data of described storage being uploaded to the step of other P2P participant by P2P agreement:
It is uploaded to the uploading data amount of other P2P participant router statistics, and described uploading data amount is sent to described server, and from described server, obtains award feedback according to described uploading data amount.
Further, in said method, router also comprises after the sharing data of described storage being uploaded to the step of other P2P participant by P2P agreement:
It is uploaded to the uploading data amount of other P2P participant the downloading data amount of its download sharing data of described router statistics and statistics, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server, and from described server, obtain award feedback according to described net contribution data volume.
Compared with prior art, in the present invention, router is downloaded and storage sharing data from a server by P2P agreement, and the sharing data of described storage is uploaded to other P2P participant, this router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, support without other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
In addition, by described router statistics, it is downloaded the downloading data amount of sharing data and statistics it is uploaded to the uploading data amount of other P2P participant in the present invention, described uploading data amount is deducted to described downloading data to be measured net contribution data volume and is sent to described server, and from described server, obtain award feedback according to described net contribution data volume, realizing the data volume that router shares it simultaneously adds up, and submit statistics to server, the foundation of feedback is provided as data providing.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment mono-
As shown in Figure 1, the invention provides a kind of P2P data sharing system, comprise server 11 and router one 2.
Described server 11 is for providing sharing data.
Described router one 2 is downloaded and storage sharing data from described server for passing through P2P agreement, and the sharing data of described storage is uploaded to other P2P participant 13.
Preferably, the uploading data amount that described router one 2 is also uploaded to other P2P participant for adding up it, and described uploading data amount is sent to described server 11;
Described server 11 is also for providing award feedback according to described uploading data amount to described router one 2, concrete, and described award feedback can be to download to reward, and can be also other various forms of award methods.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
Preferably, also for adding up its downloading data amount of downloading sharing data and statistics, it is uploaded to the uploading data amount of other P2P participant to described router one 2, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server;
Described server, also for providing award feedback according to described net contribution data volume to described router.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
In the present embodiment, described router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, without the support of other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
Embodiment bis-
As shown in Figure 1, the invention provides a kind of P2P data sharing router one 2, described router one 2 is downloaded and storage sharing data from a server 11 for passing through P2P agreement, and the sharing data of described storage is uploaded to other P2P participant 13.
Preferably, the uploading data amount that described router one 2 is also uploaded to other P2P participant for adding up it, described uploading data amount is sent to described server 11, and from described server 11, obtain award feedback according to described uploading data amount, concrete, described award feedback can be to download to reward, and can be also other various forms of award methods.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
Preferably, also for adding up its downloading data amount of downloading sharing data and statistics, it is uploaded to the uploading data amount of other P2P participant to described router one 2, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server 11, and from described server 11, obtain award feedback according to described net contribution data volume.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
In the present embodiment, described router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, without the support of other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
Embodiment tri-
As shown in Figure 2, the invention provides a kind of data sharing server 2, comprise download module 21, memory module 22 and upper transmission module 23.
Download module 21 is for downloading sharing data by P2P agreement from a server 3.
Memory module 22 is for storing described sharing data.
Upper transmission module 23 is for being uploaded to the sharing data of described storage other P2P participant 4.
Preferably, described server 2 also comprises that a statistical module 24 is uploaded to the sharing data of described storage the uploading data amount of other P2P participant for adding up described upper transmission module 23, described uploading data amount is sent to described server 3, and from described server 3, obtains award feedback according to described uploading data amount.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.Preferably, described statistical module 24 is also downloaded the downloading data amount of sharing data for adding up described download module 21, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server 3, and from described server 3, obtain award feedback according to described net contribution data volume.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
In the present embodiment, described router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, without the support of other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
Embodiment tetra-
As shown in Figure 3, the invention provides a kind of P2P data sharing method, comprising:
Step S11, server provides sharing data;
Step S12, router is downloaded and storage sharing data from described server by P2P agreement, and the sharing data of described storage is uploaded to other P2P participant.
Preferably, after step S12, also comprise as shown in Figure 3:
Step S131, it is uploaded to the uploading data amount of other P2P participant described router statistics, and described uploading data amount is sent to described server;
Step S132, described server provides award feedback according to described uploading data amount to described router.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
Preferably, as shown in Figure 4, after step S2, also comprise:
Step S141, it is uploaded to the uploading data amount of other P2P participant the downloading data amount of its download sharing data of described router statistics and statistics, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server;
Step S142, described server provides award feedback according to described net contribution data volume to described router.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
In the present embodiment, described router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, without the support of other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
Embodiment five
As shown in Figure 5, the invention provides a kind of P2P data sharing method, comprising:
Step S21, router is downloaded and storage sharing data from a server by P2P agreement;
Step S22, router is uploaded to other P2P participant by P2P agreement by the sharing data of described storage.
Preferably, as shown in Figure 5, after step S22, also comprise:
Step S23, it is uploaded to the uploading data amount of other P2P participant router statistics, and described uploading data amount is sent to described server, and from described server, obtains award feedback according to described uploading data amount.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
Preferably, as shown in Figure 6, after step S22, also comprise:
Step S24, it is uploaded to the uploading data amount of other P2P participant the downloading data amount of its download sharing data of described router statistics and statistics, described uploading data amount is deducted to described downloading data and measure net contribution data volume and be sent to described server, and from described server, obtain award feedback according to described net contribution data volume.Can realize like this data volume that router shares it simultaneously and add up, and submit statistics to server, the foundation of feedback is provided as data providing.
In the present embodiment, described router is with a certain amount of storage area, except the function of standard router, this router is also supported the download protocol of P2P, owing to having possessed storage area and having supported P2P agreement, this router just can independently participate in P2P data sharing, without the support of other electronic equipment in family, can be other P2P participants data source is provided, reduce the output flow of data providing server side.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed system of embodiment, owing to corresponding to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these change and modification.