CN1901540A - Method for resolving P2P application problem - Google Patents

Method for resolving P2P application problem Download PDF

Info

Publication number
CN1901540A
CN1901540A CN 200510200761 CN200510200761A CN1901540A CN 1901540 A CN1901540 A CN 1901540A CN 200510200761 CN200510200761 CN 200510200761 CN 200510200761 A CN200510200761 A CN 200510200761A CN 1901540 A CN1901540 A CN 1901540A
Authority
CN
China
Prior art keywords
node
data
request
index server
index
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
CN 200510200761
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200510200761 priority Critical patent/CN1901540A/en
Publication of CN1901540A publication Critical patent/CN1901540A/en
Pending legal-status Critical Current

Links

Images

Abstract

This invention relates to a method for solving three main problems in the application of P2P: 1, P2P application is often forbidden by telecommunication business runners and gate managers since it occupies large amount of network bandwidth, 2, the advantage of P2P application can't be brought into play since large amount of inner network users can't share resource with outside, 3, providers of P2P are reduced since many computers are switch off after asking the service of P2P, which improves the gate device to a P2P proxy node to solve problem 3 since the gate device is always on and provides service to outside as the proxy of the total internal network so as to solve problem 2 and provides service to the internal network computers so there are no redundant data filled in the output bandwidth so as the reduce the network bandwidth to solve problem 1.

Description

Solve the method for P2P application problem
Technical field
The present invention relates to fields such as the Internet, P2P, gateway device, relate in particular to the methodology that solves the P2P application problem.
Background technology
P2P is the abbreviation of English Peer to Peer, is the meaning of point-to-point.It is a kind of of network application that P2P uses, and any computer on network serves as the client and the dual role that the server end of service is provided of the service of acceptance simultaneously exactly.P2P uses relative original C S (Client-Server, client-server) structure and mainly solves two problems: server performance problem and server bandwidth problem.Along with the increase of the quantity of client, the bottleneck that influences client-side productivity is the performance and the bandwidth of server, rather than the performance of client oneself and bandwidth.Use the P2P technology, performance and bandwidth demand that can distributing server be that network application no longer becomes bottleneck.
With the P2P download is example, see accompanying drawing 1, client 90 obtains information from index server 10: required downloaded files is positioned on the client 20, so client 90 is downloaded this document from client 20, and notify index server 10 its download progress at any time, at this moment, if client 100 is downloaded same file again, it will obtain information from index server 10: its desired downloaded files has on client 20 and 90, and client 100 will be downloaded (different part that yes) from these two computers simultaneously like this.Can imagine, finding when client need be downloaded a file has many computers to have this document on the net, downloading task is assigned on these many computers, so just solved server performance problem and server bandwidth problem simultaneously, speed of download will improve.
Along with the P2P application and development, also brought negative influence.Negative effect is owing to some in esse problems cause.
At first, because a large amount of users is present in gateway (router of use NAT, fire compartment wall etc.) back, and gateway does not allow the visit of the Internet to internal network, external user just can't ask these internal users that service is provided like this, on the contrary, these internal users become the unfair person that P2P uses, and only accept service, service is not provided.Inner net computer can initiate to provide the method for service request to provide service to the non-inner computer on the Internet by active at present, but can't accomplish that the in-house network computer provides service to another in-house network computer.
Secondly, because these internal users can't provide service, even just caused user in same Intranet, in order to obtain identical data, also must be individually from the Internet other ISPs obtain data, so just ineffectually taken the bandwidth (same request of data multipass) of the outlet of this Intranet.Also caused increasing the weight of of ISP's load on the Internet simultaneously.
The 3rd, the P2P service needs the data owner to start shooting just can provide service, just shutdown after if the data owner downloads and finishes, it just can't continue to provide service (service of downloading part just is provided) when it is downloaded so, has so also reduced the effect of P2P.
The problem that P2P uses has caused the negative effect to internet, applications, and then cause telecom operators, gateway management person that P2P is used generation dislike and conflict, often there is the keeper of broadband community to close down the P2P application, even once had rumor telecom operators will close down the P2P application.Such situation has influenced the P2P application and development.
Solving in-house network P2P node can't externally provide the problem of service, has a kind of scheme to be to use the uPnP agreement at present, can dynamically generate serve port like this.But there are some problems in this scheme: the one, and most of gateway device does not provide or does not open the uPnP agreement, the 2nd, this scheme does not solve the problem of bandwidth ineffective occupation, the 3rd, this scheme does not solve the inner problem of sharing, and all are shared will pass through gateway device.
Summary of the invention
The present invention will solve three subject matters that exist in the above-mentioned P2P application: Intranet user can't externally provide service, takies a large amount of network bandwidths, and the shutdown of P2P node causes lazy weight.Method of the present invention comprises three parts: allow gateway device also as the node of P2P, two kinds of P2P use the inner method of sharing.
The computer of internal network will connect the Internet, must be through a gateway device, and this gateway device generally is router or fire compartment wall.General gateway device does not have this big capacity storage parts of hard disk, and we will increase hard disk in gateway device, and shall increase necessary application program.Inner computer is when request P2P service, gateway can be found the data that it will be asked, these data of computer request that in advance have this request msg from all, and notice index server, the P2P request of inner computer is by the gateway device intercept, and gateway device pretends to be index server to reply to inner computer: you have only me to have by gateway device at the data of request.Inner computer just only can be obtained data from gateway device like this.In same internal network, when the identical data of another computer request are arranged again simultaneously, it also will obtain data (below will mention, it also will obtain data from before having obtained the data computing machine) from gateway device.No matter how many platform computer request msgs inside have, have only gateway device request P2P to serve this requesting service on the outlet channel, thereby avoided the problem of inner computer repetitive requests, ineffective occupation bandwidth.
After this gateway device becomes application node of P2P, not only can provide data to inner computer, also can provide data to other computers on the Internet, that is to say has increased the quantity of service available computer on the Internet, has disperseed performance and bandwidth requirement.
Gateway device will be served as the role of inner index server simultaneously, when the identical data of inner second computer request, will notify this computer to obtain data from gateway and first computer, to reduce performance and the bandwidth requirement to gateway device.This is that share the inside of first kind of situation.
During present P2P uses, index server is only known the IP (may be the IP of gateway) of the P2P node that is connected with it, do not know the real IP (the inner IP of reservation) of this node, therefore our solution is: each P2P node should provide the real IP of oneself simultaneously and arrive the routing iinformation of index server, the data of index server just comprise like this: network egress IP, network internal Computer IP and the whole route from the client computer to the index server, when a P2P node is found the computer identical with own network egress IP on index server, just know be with own in same in-house network, can send the P2P request to this machine by the network internal Computer IP, realize that like this inside of second kind of situation is shared.
When an internal network does not use our improved gateway device and the computer of the inside when having used the inside of second kind of situation to share, also can reduce the bandwidth demand (though not as above-mentioned gateway processes method reduce thoroughly) of whole network egress greatly, because the ISP that it has directly been found is nearest from it, bandwidth is maximum (internal network generally is the connection more than the 100M).
Because gateway device is permanent start, therefore avoided the problem of general user's computer shutdown, to be kept on the hard disk of gateway device through its data downloaded always, provide service to the Internet and internal user always, up to hard disk be full of, till these data become data the earliest or the unmanned request of maximum duration and are lost.
Because above-mentioned solution can reduce outlet bandwidth greatly and take, so gateway management person's acceptance with pleasure, with regard to having increased the P2P node of many permanent starts on the internet, further disperseed requirement like this to ISP's performance and bandwidth.Such benign cycle can be that the condition that repelled by operator, gateway management person is walked out in the P2P application, moves towards the direction of benign development.
Above-mentioned prior art is not discussed among the present invention: internal node is initiatively initiated service request shares and use the uPnP agreement to external node solution, these two schemes can the part be dealt with problems and the solution of the present invention can solve the problem that P2P exists in using together comprehensively.
To bring into play the advantage of P2P application to greatest extent and negative effect be dropped to minimum through improved like this P2P applied environment.
Description of drawings
Fig. 1 is the application schematic diagram of general P2P.Utilize existing P 2P technology, all P2P nodes in two in-house networks can be accepted the service of external node 20, use the in-house network computer initiatively to initiate the method for service request simultaneously, all inner P2P nodes provide service also can for outside P2P node, but can't provide service between the in-house network P2P node, for example can't shared data between the P2P node 50 and 60, also can't shared data between the P2P node 50 and 70.When this will cause all nodes all to ask the service of P2P node 20, all bigger to load increase, the bandwidth occupancy of node 20, the in-house network outlet bandwidth also was disabled and takies simultaneously.
Fig. 2 is the schematic diagram of solution of the present invention, and gateway can provide data to the Internet and in-house network as the node of P2P, simultaneously also shared data between in-house network.
Fig. 3 is the treatment step flow chart of solution of the present invention, and idiographic flow is explained and seen " treatment step ".
Embodiment
On the embodiment, we will set about improving whole P2P applied environment from gateway device, index server, P2P node software three.
On gateway device, need:
1) increases hard disk and be used to preserve the P2P data
2) increase P2P agreement intercept and Agent, the P2P request of intercept inner computer, serve to index server request P2P, provide machine to obtain data from the P2P service, pretend to be index server to provide the index data that only comprises gateway and inner computer, allow the inner computer of request obtain data from gateway device and inner other computers to inner computer.
In the P2P node software,, need provide real IP and the route trace information of oneself simultaneously when the index server application is served.Why to provide the route trace information, be to consider that there be repeatedly the possible of address transition (NAT) in computer to the Internet internally, at this moment other computers can judge whether computer and lay oneself open to same in-house network or serve the provider to be in own in-house network outside according to the route trace information.
On index server, write down IP address (may be the IP of gateway), real IP address (may be the inner IP of reservation) even the route trace information of every P2P node computer from the P2P node computer to index server, and when other P2P node request services, provide these complete information, allow the P2P node judge network topology structure, can the requested service supplier ask service to all.
With reference to following treatment step as can be seen, solution in fact of the present invention is:
The P2P node provides route tracking data and real IP to index server, makes other computers can access the detailed topology location of this P2P node, utilizes available P2P node as far as possible;
Gateway device is as an intercept agent equipment, in the time of can't shared data between different Intranets, serves as an internuncial role, so not only can realize the data sharing between different Intranets, also can reduce network traffics and save bandwidth.
Treatment step:
Divide three kinds of situation explanation treatment steps now.
There are not the data that will ask for inner other computers in first kind of situation with other in-house networks, has only the P2P node on the Internet to exist:
The 1st step: the P2P node 50 of request msg to send the request of P2P index to index server 10, actual in gateway 30 intercepts;
The 2nd step: gateway 30 sends the request of P2P index with the name of oneself to index server 10;
The 3rd step: index server 10 is replied gateway 30 index datas, tells its P2P node 20 to have the data of its needs;
The 4th step: gateway 30 is initiated request of data to P2P node 20;
The 5th step: P2P node 20 is replied gateway 30 its needed data;
The 6th step: the data answering P2P node 50 of gateway 30 to revise, tell its its needed data to have only gateway 30 to have
The 7th step: P2P node 50 is initiated request of data to gateway 30;
The 8th the step: gateway 30 will from P2P node 20 obtain and data in buffer offer P2P node 50.
Second kind of situation is: if the identical excessively data of P2P node 60 once-requested, may there be the data of part P2P node 50 needs in gateway 30 and P2P node 60:
The 1st step: the P2P node 50 of request msg to send the request of P2P index to index server 10, actual in gateway 30 intercepts;
The 2nd step: gateway 30 sends the request of P2P index with the name of oneself to index server 10;
The 3rd step: index server 10 is replied gateway 30 index datas, tells its P2P node 20 and gateway 30 all to have the data of its needs;
The 4th step: gateway 30 is initiated request of data to P2P node 20;
The 5th step: P2P node 20 is replied gateway 30 its needed data;
The 6th step: the data answering P2P node 50 of gateway 30 to revise, tell its gateway 30 and P2P node 60 that its needed data is arranged
The 7th step: P2P node 50 is initiated request of data to gateway 30;
The 8th the step: gateway 30 will from P2P node 20 obtain and data in buffer offer P2P node 50.
The 9th step: actual and the 7th step is simultaneously, and P2P node 50 is initiated request of data to P2P node 60;
The 10th step: actual and the 8th step is that P2P node 60 offers P2P node 50 with own data in buffer simultaneously.
The third situation is if another in-house network (in-house networks at P2P node 70 places) has the identical excessively data of computer once-requested, then also may have partial data on gateway 40.
The 1st step: the P2P node 50 of request msg to send the request of P2P index to index server 10, actual in gateway 30 intercepts;
The 2nd step: gateway 30 sends the request of P2P index with the name of oneself to index server 10;
The 3rd step: index server 10 is replied gateway 30 index datas, tells its P2P node 20, gateway 30 and gateway 40 all to have the data of its needs;
The 4th step: gateway 30 is initiated request of data to P2P node 20;
The 5th step: P2P node 20 is replied gateway 30 its needed data;
The 6th step: the data answering P2P node 50 of gateway 30 to revise, tell its gateway 30 and P2P node 60 that its needed data is arranged
The 7th step: P2P node 50 is initiated request of data to gateway 30;
The 8th the step: gateway 30 will from P2P node 20 obtain and data in buffer offer P2P node 50.
The 9th step: actual and the 7th step is simultaneously, and P2P node 50 is initiated request of data to P2P node 60;
The 10th step: actual and the 8th step is that P2P node 60 offers P2P node 50 with own data in buffer simultaneously.
The 9th step: actual and the 4th step is simultaneously, and gateway 30 is initiated request of data to gateway 40;
The 10th step: actual and the 5th step is that gateway 40 offers gateway 30 with own data in buffer simultaneously.
Certainly, the above only is a preferred implementation of the present invention, should be understood that; for the person of ordinary skill of the art; under the prerequisite that does not break away from the technology of the present invention principle, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (5)

1. method that solves the P2P application problem is characterized in that:
The P2P index request that gateway device intercept inner computer sends, with the name of gateway device self to the request of sending of P2P index server and the request of data P2P data of replying according to index server, make gateway device oneself become a P2P node and internal index server, can provide service the Internet and inner computer.
2. method that solves the P2P application problem is characterized in that:
When the P2P node software sends request and has the information of data to index server, provide real IP and the route trace information of oneself, add the IP address that index server connected at that time, form whole routing infrastructure from the P2P node to index server.
3. method that solves the P2P application problem is characterized in that:
Index server is preserved the P2P node to own detailed routing iinformation, and provides when other P2P node requests services, the P2P node that request is served can analyze all preserve its request msg, can be to the P2P node that service is provided oneself.
4. according to the method for the described solution of claim 1 P2P application problem, it is characterized in that:
On common gateway Equipment Foundations, increase hard disk as the medium of preserving data.
5. according to the method for the described solution of claim 1 P2P application problem, it is characterized in that:
In gateway device, increase P2P intercept agent software and index information modification software, gateway device will pretend to be index server to respond index data to inner computer, or the response data of modification index server, outside P2P node is not appeared in the response, have only inner computer and gateway device just to appear in the index data.
CN 200510200761 2005-12-02 2005-12-02 Method for resolving P2P application problem Pending CN1901540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510200761 CN1901540A (en) 2005-12-02 2005-12-02 Method for resolving P2P application problem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510200761 CN1901540A (en) 2005-12-02 2005-12-02 Method for resolving P2P application problem

Publications (1)

Publication Number Publication Date
CN1901540A true CN1901540A (en) 2007-01-24

Family

ID=37657279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510200761 Pending CN1901540A (en) 2005-12-02 2005-12-02 Method for resolving P2P application problem

Country Status (1)

Country Link
CN (1) CN1901540A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026543A (en) * 2007-03-28 2007-08-29 华为技术有限公司 Point-tor point P2P content sharing method and system
CN101789914B (en) * 2009-01-23 2012-07-18 财团法人工业技术研究院 Point-to-point communication device using point-to-point proxy service and method thereof
CN101060534B (en) * 2007-06-13 2013-01-16 中兴通讯股份有限公司 A p2p network application system and network side system
CN103379157A (en) * 2012-04-23 2013-10-30 上海聚力传媒技术有限公司 Method, device, equipment and system for transmitting information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026543A (en) * 2007-03-28 2007-08-29 华为技术有限公司 Point-tor point P2P content sharing method and system
CN101060534B (en) * 2007-06-13 2013-01-16 中兴通讯股份有限公司 A p2p network application system and network side system
CN101789914B (en) * 2009-01-23 2012-07-18 财团法人工业技术研究院 Point-to-point communication device using point-to-point proxy service and method thereof
CN103379157A (en) * 2012-04-23 2013-10-30 上海聚力传媒技术有限公司 Method, device, equipment and system for transmitting information

Similar Documents

Publication Publication Date Title
US10212124B2 (en) Facilitating content accessibility via different communication formats
US20230115557A1 (en) Method and System for Transmitting Data in a Computer Network
EP2112788B1 (en) A method and node for p2p content sharing
US6438597B1 (en) Method and system for managing accesses to a data service system that supports persistent connections
US10263950B2 (en) Directing clients based on communication format
US6304906B1 (en) Method and systems for allowing data service system to provide class-based services to its users
US6189033B1 (en) Method and system for providing performance guarantees for a data service system of a data access network system
US20100250668A1 (en) Arrangement for selecting a server to provide distributed services from among multiple servers based on a location of a client device
CN1679302A (en) System and method for dynamic simultaneous connection to multiple service providers
US20090299937A1 (en) Method and system for detecting and managing peer-to-peer traffic over a data network
WO2004031975A1 (en) A translating switch and method
CN106878457B (en) The attached storage method of distributed network and system
KR20110036573A (en) Providing access over an ip network to a server application program
EP2656591B1 (en) DNS proxy service for multi-core platforms
CN1917512A (en) Method for establishing direct connected peer-to-peer channel
CN1901540A (en) Method for resolving P2P application problem
US8959243B2 (en) System and method to guide active participation in peer-to-peer systems with passive monitoring environment
US20080298366A1 (en) Agnostic Network Architecture
CN114172912A (en) Networking method of hybrid distributed network
KR102288478B1 (en) Method And Apparatus For Provisioning Service Acceleration System In Distributed Cloud Infrastructure
Gong The use of multiple proxies for fast download
Wang et al. Spatial data efficient transmission in WebGIS based on IPv6
Sung et al. Web Server Cluster Load Balancing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication