CN102394898A - File downloading method and system based on P2P (point to point) - Google Patents

File downloading method and system based on P2P (point to point) Download PDF

Info

Publication number
CN102394898A
CN102394898A CN201110086553XA CN201110086553A CN102394898A CN 102394898 A CN102394898 A CN 102394898A CN 201110086553X A CN201110086553X A CN 201110086553XA CN 201110086553 A CN201110086553 A CN 201110086553A CN 102394898 A CN102394898 A CN 102394898A
Authority
CN
China
Prior art keywords
client
node
coupling
geographical position
network operator
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
CN201110086553XA
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
TRANSFER INTERACTION TOGETHER (BEIJING) TECHNOLOGY Co 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 TRANSFER INTERACTION TOGETHER (BEIJING) TECHNOLOGY Co Ltd filed Critical TRANSFER INTERACTION TOGETHER (BEIJING) TECHNOLOGY Co Ltd
Priority to CN201110086553XA priority Critical patent/CN102394898A/en
Publication of CN102394898A publication Critical patent/CN102394898A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a file downloading method and system based on P2P (point to point). The downloading method comprises the following steps of: S1, loading an IP library of a client used for downloading the same file by a Tracker server, and managing nodes by taking types and geographical positions of network operators as dividing basis; S2, inquiring the type and geographical position of the network operator of IP of the client when the Tracker server receives a client node inquiry request; and S3, matching the client with other nodes by the Tracker server, wherein a matching principle comprises that the nodes which have the type of the network operator same with that of the client are preferably matched, and then the nodes which have the same geographical position with the client are matched if the number of the matched nodes is less than a preset value. By applying the file downloading method and system based on P2P in the invention, calculation load of the Tracker server can be reduced, cost of the network operator is reduced, and data sharing and propagation speed is improved.

Description

Document down loading method and system based on P2P
Technical field
The invention belongs to technical field of the computer network, relate to a kind of document down loading method, relate in particular to a kind of document down loading method based on P2P; Simultaneously, the invention still further relates to a kind of file download system based on P2P.
Background technology
What the network video system in past adopted is the structure of C/S or B/S, promptly exists a server (Server) as intermediate node, handles each user's (Client or Browser) request and sends video data to the user.The defective of this structure is the requirement of intermediate node too high, because server does not often reach desired data capacity of whole system and transmission bandwidth, causes the bottleneck on the hardware, so these systems often do not reach the requirement of real-time play.Up to the maturation of P2P (Peer-to-Peer, point-to-point) technology, just make network video system really move towards to use based on the appearance of the video system of P2P network; Network video system based on P2P continues to bring out now; Comprise PPStream, PPLive etc. have set up many customer groups.
Network video system based on P2P has following advantage: decentralized: resource in the network and service are dispersed on all nodes, and the realization of transmission of Information and service is all directly carried out between node.Extensibility: in the P2P network, along with user's adding, the increase in demand of not only serving, the resource of entire system and service ability are also synchronously expanding, and can more easily satisfy user's needs all the time.Robustness: carry out because service is dispersed between each node, part node or network are destroyed the influence of other part very little.High performance-price ratio: adopt the P2P framework can effectively utilize a large amount of common node of scattering in the Internet, reach the purpose of high-performance calculation and mass memory.More than these characteristics exactly can remedy the weak point of C/S network video system in the past, make the practicability of video network become possibility.
P2P is a kind of distributed network; The participant of network shares a part of hardware resource (disposal ability, storage capacity, network concatenation ability, printer etc.) that they are had; These shared resources need provide service and content by network, can directly be visited and need not the process intermediate entities by other peer node.Participant in this network is resource (service and content) supplier, is again that resource (service and content) obtains taker.In the P2P system, be divided into many piecemeals to file usually during transfer files, the user sets up one as a node and other node and is connected, and selects own required piecemeal from other node, and node is many more like this, and the piecemeal that can download simultaneously is many more, and efficient is high more; But owing to have only a connection between node, can only download a piecemeal simultaneously, the transmission downloading efficiency descended at node from other node.
Comprise the Tracker server in the P2P system,, offer corresponding node in order to collect other node identifications of downloading identical file.Existing a lot of Tracker server all is to return a pile node at random when receiving the client query node, carries out node by client again and connects screening.
This search algorithm has following shortcoming:
The first, client will be inquired about repeatedly, just can be connected to enough nodes.Slow down the speed that client gets into network, increase Tracker server computation burden
The second, because return node at random, therefore the outlet upstream and downstream bandwidth of uncontrollable each Virtual network operator increases operator's cost, to whole network build-up of pressure.
Summary of the invention
Technical problem to be solved by this invention is: a kind of document down loading method based on P2P is provided, can reduces Tracker server computation burden, and reduce the Virtual network operator cost, accelerate data sharing and propagation velocity.
In addition, the present invention further provides a kind of file download system based on P2P, can reduce Tracker server computation burden, and reduces the Virtual network operator cost, accelerates data sharing and propagation velocity.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of document down loading method based on P2P, said method for down loading comprises the steps:
Step S1, Tracker server load the IP storehouse of the client of downloading identical file, serve as to divide according to management node with Virtual network operator type, geographical position;
Step S2, when the Tracker server is received the client node query requests, inquire about the Virtual network operator type and the geographical position of this client ip;
Step S3, Tracker server mate said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
As a kind of preferred version of the present invention, among the said step S3, the method for mating the node identical with said client geographical position is:
Preferential coupling and said client are in the node in same city;
If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again;
If the interstitial content that matches is during less than set point, coupling and said client are in the node of the same area again.
A kind of file download system based on P2P, said VOD system comprises:
Some nodes;
The Tracker server in order to collect other node identifications of downloading identical file, offers corresponding node; Said Tracker server comprises:
-IP database management module in order to load the IP storehouse of the client of downloading identical file, serves as to divide according to management node with Virtual network operator type, geographical position;
-client ip enquiry module in order to when the Tracker server is received the client node query requests, is inquired about the Virtual network operator type and the geographical position of this client ip;
-node matching module is in order to mate said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
As a kind of preferred version of the present invention, the method for the node that said node matching module coupling is identical with said client geographical position is:
Preferential coupling and said client are in the node in same city;
If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again;
If the interstitial content that matches is during less than set point, coupling and said client are in the node of the same area again.
As a kind of preferred version of the present invention, said VOD system also comprises the order program data source server, in order to the order program data source to be provided.
Beneficial effect of the present invention is: document down loading method and system that the present invention proposes based on P2P, when the Tracker server is received the client node query requests, said client and other nodes are mated; Preferential coupling and the node that said client has identical network operator type are mated and the identical node in said client geographical position again.
The online number of a file is many more, the area dividing that then can more become more meticulous more.When online number reached certain value, optimal effect was exactly that the node of consolidated network operator only connects the node with the city.The present invention can reduce Tracker server computation burden, and reduces the Virtual network operator cost, accelerates sharing and propagation velocity of data.
Description of drawings
Fig. 1 is the composition sketch map of demand stream media system of the present invention.
Fig. 2 is the flow chart of stream media ordering method of the present invention.
Embodiment
Specify the preferred embodiments of the present invention below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed a kind of file download system based on P2P, and said VOD system comprises: some nodes (being client) 10, Tracker server 20, order program data source server 30.Order program data source server 30 is in order to provide the order program data source file.
Tracker server 20 offers corresponding node 10 in order to collect other node identifications of downloading identical file.
Said Tracker server comprises: IP database management module 21, client ip enquiry module 22, node matching module 23.
-IP database management module 21 serves as to divide according to management node in order to load the IP storehouse of the client of downloading identical file with Virtual network operator type, geographical position.
-client ip enquiry module 22 is inquired about the Virtual network operator type and the geographical position of this client ip in order to when the Tracker server is received the client node query requests.
-node matching module 23 is in order to mate said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
The method of the node that said node matching module coupling 23 is identical with said client geographical position is: preferential coupling and said client are in the node in same city; If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again; If the interstitial content that matches is during less than set point, coupling and said client are in the node in the same area (like East China, south China, North China or the like) again.
The online number of a file is many more, the area dividing that then can more become more meticulous more.When online number reached certain value, optimal effect was exactly that the node of consolidated network operator only connects the node with the city.
More than introduced the composition of the file download system that the present invention is based on P2P, the present invention also discloses a kind of method for down loading of above-mentioned download system when disclosing above-mentioned download system.See also Fig. 2, said document down loading method based on P2P comprises the steps:
[step S1] Tracker server loads the IP storehouse of the client of downloading identical file, serves as to divide according to management node with Virtual network operator type, geographical position;
When [step S2] receives the client node query requests at the Tracker server, inquire about the Virtual network operator type and the geographical position of this client ip;
[step S3] Tracker server matees said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
The method of the node that wherein, coupling is identical with said client geographical position is: preferential coupling and said client are in the node in same city; If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again; If the interstitial content that matches is during less than set point, coupling and said client are in the node of the same area again.
In sum, document down loading method and system based on P2P that the present invention proposes when the Tracker server is received the client node query requests, mate said client and other nodes; Preferential coupling and the node that said client has identical network operator type are mated and the identical node in said client geographical position again.
The present invention can reduce Tracker server computation burden, and reduces the Virtual network operator cost, accelerates sharing and propagation velocity of data.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of the embodiment that is disclosed and change are possible, and the replacement of embodiment is known with the various parts of equivalence for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or substantive characteristics, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to the embodiment that is disclosed.

Claims (5)

1. the document down loading method based on P2P is characterized in that, said method for down loading comprises the steps:
Step S1, Tracker server load the IP storehouse of the client of downloading identical file, serve as to divide according to management node with Virtual network operator type, geographical position;
Step S2, when the Tracker server is received the client node query requests, inquire about the Virtual network operator type and the geographical position of this client ip;
Step S3, Tracker server mate said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
2. the document down loading method based on P2P according to claim 1 is characterized in that:
Among the said step S3, the method for mating the node identical with said client geographical position is:
Preferential coupling and said client are in the node in same city;
If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again;
If the interstitial content that matches is during less than set point, coupling and said client are in the node of the same area again.
3. the file download system based on P2P is characterized in that, said VOD system comprises:
Some nodes;
The Tracker server in order to collect other node identifications of downloading identical file, offers corresponding node; Said Tracker server comprises:
-IP database management module in order to load the IP storehouse of the client of downloading identical file, serves as to divide according to management node with Virtual network operator type, geographical position;
-client ip enquiry module in order to when the Tracker server is received the client node query requests, is inquired about the Virtual network operator type and the geographical position of this client ip;
-node matching module is in order to mate said client and other nodes; The node that matching principle has identical network operator type for preferential coupling and said client, if the interstitial content that matches is during less than set point, coupling and the identical node in said client geographical position again.
4. the file download system based on P2P according to claim 3 is characterized in that:
The method of the node that said node matching module coupling is identical with said client geographical position is:
Preferential coupling and said client are in the node in same city;
If the interstitial content that matches is during less than set point, coupling and said client are in the node in same province again;
If the interstitial content that matches is during less than set point, coupling and said client are in the node of the same area again.
5. the file download system based on P2P according to claim 3 is characterized in that:
Said VOD system also comprises the order program data source server, in order to the order program data source to be provided.
CN201110086553XA 2011-04-07 2011-04-07 File downloading method and system based on P2P (point to point) Pending CN102394898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110086553XA CN102394898A (en) 2011-04-07 2011-04-07 File downloading method and system based on P2P (point to point)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110086553XA CN102394898A (en) 2011-04-07 2011-04-07 File downloading method and system based on P2P (point to point)

Publications (1)

Publication Number Publication Date
CN102394898A true CN102394898A (en) 2012-03-28

Family

ID=45862103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110086553XA Pending CN102394898A (en) 2011-04-07 2011-04-07 File downloading method and system based on P2P (point to point)

Country Status (1)

Country Link
CN (1) CN102394898A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103036908A (en) * 2012-12-31 2013-04-10 乐视网信息技术(北京)股份有限公司 P2P node grouping method
CN103391312A (en) * 2013-06-26 2013-11-13 北京奇虎科技有限公司 Resource offline downloading method and device
WO2014075450A1 (en) * 2012-11-19 2014-05-22 腾讯科技(深圳)有限公司 Resource download method, service server and cellular phone client
CN103036898B (en) * 2012-12-21 2016-03-02 上海现代先进超精密制造中心有限公司 A kind of method of controlled file push
CN107846430A (en) * 2016-09-19 2018-03-27 北京优朋普乐科技有限公司 Node screening technique and device, the login service device of P2P networks
CN110519357A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Document transmission method and system, computer installation and storage medium
CN111835856A (en) * 2020-07-17 2020-10-27 北京百度网讯科技有限公司 File downloading method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098272A (en) * 2006-06-27 2008-01-02 腾讯科技(深圳)有限公司 Seed enquiring method of P2P system and P2P server
CN101626543A (en) * 2009-08-10 2010-01-13 中兴通讯股份有限公司 Method for providing P2P service and P2P value added service platform
CN101662504A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for realizing point-to-point content distribution under wireless network environment
CN102006328A (en) * 2010-11-24 2011-04-06 中国联合网络通信集团有限公司 Peer-to-peer (P2P) streaming media distributed network system and data transmission method thereof
CN102006234A (en) * 2010-12-09 2011-04-06 工业和信息化部电信传输研究所 Method and device for optimizing P2P (Peer-to-Peer) network flow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098272A (en) * 2006-06-27 2008-01-02 腾讯科技(深圳)有限公司 Seed enquiring method of P2P system and P2P server
CN101626543A (en) * 2009-08-10 2010-01-13 中兴通讯股份有限公司 Method for providing P2P service and P2P value added service platform
CN101662504A (en) * 2009-09-25 2010-03-03 中国电信股份有限公司 Method and system for realizing point-to-point content distribution under wireless network environment
CN102006328A (en) * 2010-11-24 2011-04-06 中国联合网络通信集团有限公司 Peer-to-peer (P2P) streaming media distributed network system and data transmission method thereof
CN102006234A (en) * 2010-12-09 2011-04-06 工业和信息化部电信传输研究所 Method and device for optimizing P2P (Peer-to-Peer) network flow

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《计算机应用》 20110228 陈兴蜀等 "P2P节点智能选择机制的研究与实现" 第293-297页 1-5 第31卷, 第2期 *
陈兴蜀等: ""P2P节点智能选择机制的研究与实现"", 《计算机应用》, vol. 31, no. 2, 28 February 2011 (2011-02-28), pages 293 - 297 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014075450A1 (en) * 2012-11-19 2014-05-22 腾讯科技(深圳)有限公司 Resource download method, service server and cellular phone client
CN103036898B (en) * 2012-12-21 2016-03-02 上海现代先进超精密制造中心有限公司 A kind of method of controlled file push
CN103036908A (en) * 2012-12-31 2013-04-10 乐视网信息技术(北京)股份有限公司 P2P node grouping method
CN103391312A (en) * 2013-06-26 2013-11-13 北京奇虎科技有限公司 Resource offline downloading method and device
CN103391312B (en) * 2013-06-26 2017-06-09 北京奇虎科技有限公司 Resource offline method for down loading and device
CN107846430A (en) * 2016-09-19 2018-03-27 北京优朋普乐科技有限公司 Node screening technique and device, the login service device of P2P networks
CN110519357A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Document transmission method and system, computer installation and storage medium
CN110519357B (en) * 2019-08-20 2022-08-12 深圳市网心科技有限公司 File transmission method and system, computer device and storage medium
CN111835856A (en) * 2020-07-17 2020-10-27 北京百度网讯科技有限公司 File downloading method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3439239B1 (en) Data transmission method and system based on peer-to-peer network
CN102394898A (en) File downloading method and system based on P2P (point to point)
CN102394899B (en) On-demand system and method for improving file downloading speed
CN101626389B (en) Network node management method
CN1897588B (en) Mixed-mode network file transmitting method and system
US20140074991A1 (en) Systems and methods for dynamic networked peer-to-peer content distribution
CN103108008B (en) A kind of method and file download system for downloading file
CN101594292A (en) Content delivery method, service redirection method and system, node device
CN103795761A (en) Method and system for downloading online game data
US20160381127A1 (en) Systems and methods for dynamic networked peer-to-peer content distribution
CN101714987A (en) P2P playing method and system
CN105872856A (en) Method and system for distributing stream media files
CN102164317A (en) Internet protocol (IP) set-top box-oriented multi-server segmented downloading system
CN101394423A (en) Media positioning, searching method and system
CN104735044A (en) Streaming media live broadcast method and system
CN102231762A (en) Peer-to-peer (p2p) server architecture capable of being unlimitedly and horizontally expanded
CN104394221B (en) Utilize edge service node for Stream Media Application carry out accelerate process method and system
CN100576906C (en) A kind of Web content transmission control system and method
CN102006328A (en) Peer-to-peer (P2P) streaming media distributed network system and data transmission method thereof
JP2007272540A (en) Data distributing method and data distributing system
CN102917047A (en) System and method for realizing digital document physical distribution in Internet environment
CN105516343A (en) Network dynamic self-organized file-sharing system and method for implementing same
CN103037017A (en) Passive P2P data distribution method and node client-side
WO2016165596A1 (en) Multimedia file control method and system
Loureiro et al. Searching content on peer-to-peer networks for in-flight entertainment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING QIYI CENTURY TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: CHUANJU INTERACTIVE (BEIJING) TECHNOLOGY CO., LTD.

Effective date: 20130829

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100026 CHAOYANG, BEIJING TO: 100080 HAIDIAN, BEIJING

TA01 Transfer of patent application right

Effective date of registration: 20130829

Address after: A city of Beijing Haidian District Haidian North Street 100080 No. 2 building 11 layer Goldtron expansion

Applicant after: Beijing Qiyi Century Technology Co., Ltd.

Address before: 100026 Beijing city Chaoyang District West Road No. 3 Building No. 3 hospital 3002

Applicant before: Transfer Interaction Together (Beijing) Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120328