WO2008025297A1 - Procédé de téléchargement de fichiers selon la technique p2p (pair à pair) et système de téléchargement p2p - Google Patents
Procédé de téléchargement de fichiers selon la technique p2p (pair à pair) et système de téléchargement p2p Download PDFInfo
- Publication number
- WO2008025297A1 WO2008025297A1 PCT/CN2007/070584 CN2007070584W WO2008025297A1 WO 2008025297 A1 WO2008025297 A1 WO 2008025297A1 CN 2007070584 W CN2007070584 W CN 2007070584W WO 2008025297 A1 WO2008025297 A1 WO 2008025297A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node server
- client
- seed
- server
- file
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1061—Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
- H04L67/1063—Discovery through centralising entities
Definitions
- the present invention relates to the field of network communication technologies, and in particular, to a method for downloading files by using P2P (Peer-to-Peer) technology and a P2P download system.
- P2P Peer-to-Peer
- the P2P downloading technology refers to the client side exchanges the file information with the server during the process of downloading the file from the server.
- the client simultaneously updates the download source node information, and downloads the file fragment from the corresponding client sharing the file to the local.
- P2P download technology is used to transfer a resource mode from a server to a multi-point resource and share its own resources. Therefore, P2P download can implement file sharing, network communication, file exchange and distributed computing based on peer-to-peer technology. .
- the P2P download in the prior art is mainly applied to large file sharing, such as a video file.
- User A obtains other user information sharing the video file from a specified server, and then the user A shares the video file with the current online file.
- the other user client ie, the seed
- the client needs to be redirected to a different server, which may cause clients that download the same file at the same time to be distributed on different servers. Therefore, after the client redirects
- the specified home server obtains the seed information (that is, obtains other client information for downloading the same file)
- it cannot effectively obtain all the seed information in the entire system only local seed information in its home server can be obtained
- the reduction in the number of seeds reduces the probability of client overlap (that is, the overlap time when downloading the same file), the degree of sharing between clients is low, and the P2P download efficiency (the total amount of resources a client obtains from other clients downloading the same resource)
- Quantitative and obtained from the home server The ratio of the total amount of resources taken is low, and the home server has a large amount of information traffic and needs to consume more bandwidth.
- the embodiment of the present invention provides a method for downloading a file by using a P2P technology and a P2P downloading system, which solves the problem that the P2P downloading efficiency is low due to the inability to efficiently obtain sufficient seed information in the prior art.
- the method for downloading a file by using the P2P technology provided by the embodiment of the present invention includes:
- the client sends a query seed request message carrying the identifier of the downloaded file to the home node server.
- the home node server returns, to the client, local seed information corresponding to the identifier of the download file and other node server information having the seed;
- the client obtains seed information corresponding to the identifier of the download file from the other node server, and downloads the file according to the local seed information returned by the home node server and the seed information returned by the other node server.
- the embodiment of the invention further discloses a P2P downloading system, comprising a client and at least two node servers, wherein the at least two node servers comprise a home node server of the client;
- a client configured to send, to the home node server, a query seed request message that carries a download file identifier, obtain seed information corresponding to the download file identifier from the other node server, and use the local seed information returned by the home node server And downloading a file with the seed information returned by the other node server;
- the home node server configured to return, to the client, a file corresponding to the download file Local seed information and other node server information with the seed.
- the embodiment of the present invention further provides a P2P downloading system, including a client, a redirect server, at least two node servers, and an information exchange server;
- Each node server is configured to count the current seed quantity of each shared file and report it to the information exchange server;
- the information exchange server is configured to summarize report information of each node server, and push it to each node server for storage;
- a redirecting server configured to: after the client logs in to the redirecting server, specify a node server as the home node server of the client;
- the client is configured to send a query seed request message carrying a download file identifier to the home node server, where the home node server returns local seed information corresponding to the download file identifier and other nodes having the seed to the client server information;
- the client is further configured to acquire seed information corresponding to the identifier of the download file from the other node server, and download the file according to the local seed information returned by the home node server and the seed information returned by the other node server. .
- the client After the client downloads the file, the client sends a query seed request message carrying the downloaded file identifier to the designated home node server; the home node server returns local seed information and other node server information of the network side having the seed; The terminal also obtains corresponding seed information from other node servers, and downloads a file fragment from the corresponding client according to the seed information returned by the home node server and other node servers. Therefore, compared with the prior art, the embodiment of the present invention not only obtains local seed information of the home node server, but also acquires corresponding seed information of other node servers on the network side, thereby increasing the number of acquired seeds and improving the customer. The probability of overlapping ends, more data exchange between clients, thus improving P2P download efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
- FIG. 1 is a schematic structural diagram of a P2P download system according to an embodiment of the present invention.
- 2A is a flow chart showing a specific step of obtaining seed quantity information in each node server according to an embodiment of the present invention
- 2B is a flow chart showing the steps of a client logging in and downloading a shared file according to an embodiment of the present invention. Mode for carrying out the invention
- FIG. 1 is a schematic structural diagram of a P2P download system according to an embodiment of the present invention. These include: Multiple clients, one redirect server, multiple node servers, and one information exchange server.
- Each node server includes a seed information reporting module, and periodically counts the current seed number of each shared file and reports it to the message exchange server;
- the information exchange server summarizes the report information of each node server and pushes it to each node server for storage
- FIG. 1 assumes that the client node 1 is the node server 1 after the client 1 logs in to the redirect server;
- the client sends a query seed request message carrying the download file identifier (ID) to the designated home node server, and the home node server returns local seed information and other node server information with the seed to the client;
- FIG. 1 represents the client 1
- the home node server 1 returns local seed information and returns identification information of other node servers;
- the client obtains corresponding seed information from other node servers returned by the home node server, as shown by the dotted line in FIG. 1, the client 1 goes to the other node server 2 (non-home server). Requesting to acquire seed information, and downloading a file fragment (not shown in FIG. 1) from the corresponding client based on the seed information returned by the home node server 1 and the other node server 2.
- FIG. 2A is a flowchart of specific steps for obtaining seed quantity information in each node server according to an embodiment of the present invention, including:
- Step S101 The seed information reporting module in each node server periodically counts the current seed number of each shared file and reports it to the message exchange server; for example, the information reported by the node server 1 is as shown in Table 1 below:
- Table 1 The information reported by node server 2 is shown in Table 2 below:
- Table 4 Step S102 The information exchange server summarizes the report information of each node server, and updates the node server/shared file (or shared resource) and the corresponding seed quantity information table stored in the local database.
- Step S103 The information exchange server pushes the updated information table to each node server.
- Step S104 Each node server locally stores an information table pushed by the information exchange server.
- FIG. 2A is only an implementation method for obtaining seed information in each node server, and other methods may be used to obtain seed quantity information in each node server, for example, using various sections.
- the point server sends a notification message to each other, and notifies the peer server of the seed quantity of each shared file (or shared resource). Therefore, in the method of the present invention, the specific manner of how each node server acquires the number of seeds in other node servers on the network side is not limited.
- 2B is a flow chart showing the steps of a client logging in and downloading a shared file according to an embodiment of the present invention, including:
- Step S201 The client logs in to the redirect server.
- Step S202 The redirect server determines the home node server for the client, and notifies the client.
- the load status statistics reporting module included in the node server periodically reports its own load status and reports it to the redirect server.
- the load record update module in the redirect server stores the server ID of each node and the current load status reported by each node server. After logging in to the redirect server, a node server with the lightest load is selected as the home node server of the client from the load record update module, and the client is notified to indicate that the client needs to re-register to the designated home node server.
- Step S203 The client registers with the home node server.
- Step S204 The home node server allocates the client ID to the client, and records the client as its own home client in the local resource pool, and returns the assigned client ID to the client.
- Step S205 The client records the assigned client ID, and sends a query seed message carrying the client ID and the downloaded file ID to the home node server.
- Step S206 The home node server determines whether the local seed quantity reaches the set threshold. If yes, step S207 and subsequent processes are performed; otherwise, step S209 and subsequent processes are performed.
- the seed quantity comparison module is started, and the local seed quantity is compared.
- the set threshold value (the specific threshold value can be set in the node server according to the actual situation).
- Step S207 The home node server returns a query seed response message to the client, and only carries the local seed information; and then proceeds to step S208.
- Step S208 The client downloads the file fragment from the corresponding client according to the local seed information returned by the home node server, and ends the process.
- Step S209 The home node server returns local seed information and other node server information with the seed to the client; and then proceeds to step S210.
- the home node server returns a query seed response message to the client, which not only carries the local seed information, but also carries one other node server having the largest number of seeds, or several other node servers having a large number of seeds. Corresponding identification information.
- each node server stores the seed quantity information of each shared file (or shared resource) in each node server on the network side, and therefore, the shared file requested by the home client is downloaded (the file ID is unique) Determining), the home node server can compare the number of seeds in the other node servers (that is, the number of clients in the other node servers that download the same shared file), and select one of the other node servers having the largest number of seeds (of course You can also select a number of other node servers with a large number of seeds. The corresponding server ID of the selected node server is carried by the query seed response message and notified to the client.
- Step S210 The client obtains the corresponding seed information from the other node servers returned by the home node server, and proceeds to step S211.
- the client sends a seed request message to the corresponding other node server (the other node server must be the non-home node server of the client) according to the other node server identifiers carried in the query seed response message, and the obtaining is performed.
- Seed request In the message, the client ID is set to be empty, and the download file ID is carried; the other node server judges that the client seed ID is not sent by the own home client according to the feature that the client ID in the seed request message is empty, and The client information is recorded into the local resource pool, and the local corresponding seed information is returned to the client.
- Step S211 The client downloads the file fragment from the corresponding client according to the seed information returned by the home node server and other node servers.
- the method of the present invention not only obtains local seed information of the home node server but also acquires corresponding seed information of other node servers on the network side, thereby increasing the number of acquired seeds and improving the method.
- each client can share resources with more other clients, and can download more required file fragments from a total of its clients, thereby correspondingly reducing data traffic and bandwidth consumption of the home server.
- the performance requirements of the network side node server can be reduced, and the network hardware and bandwidth resources are saved. It is within the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200610127645.7 | 2006-08-31 | ||
CN 200610127645 CN101136911B (zh) | 2006-08-31 | 2006-08-31 | 一种采用p2p技术下载文件的方法和p2p下载系统 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2008025297A1 true WO2008025297A1 (fr) | 2008-03-06 |
WO2008025297A8 WO2008025297A8 (fr) | 2009-04-02 |
Family
ID=39135509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2007/070584 WO2008025297A1 (fr) | 2006-08-31 | 2007-08-29 | Procédé de téléchargement de fichiers selon la technique p2p (pair à pair) et système de téléchargement p2p |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101136911B (zh) |
WO (1) | WO2008025297A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546713A (zh) * | 2010-12-21 | 2012-07-04 | 中国移动通信集团公司 | 漫游场景下的分布式内容分发方法、系统和设备 |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594292A (zh) * | 2008-05-30 | 2009-12-02 | 中兴通讯股份有限公司 | 内容发布方法、服务重定向方法及系统、节点设备 |
CN101431533A (zh) * | 2008-12-16 | 2009-05-13 | 腾讯科技(深圳)有限公司 | 一种p2p系统及种子查询方法 |
CN101610289A (zh) * | 2009-07-21 | 2009-12-23 | 腾讯科技(深圳)有限公司 | 下载数据的方法、装置和系统及节点 |
CN101631141B (zh) * | 2009-08-19 | 2012-07-04 | 腾讯科技(深圳)有限公司 | 一种p2p系统及p2p系统中的网络资源管理方法 |
CN101662508B (zh) * | 2009-09-11 | 2013-04-24 | 华为技术有限公司 | 基于点对点协议数据传输的方法、装置和系统 |
CN102055786B (zh) * | 2009-11-06 | 2014-12-24 | 腾讯科技(深圳)有限公司 | 一种文件下载的方法、服务器、下载端和系统 |
CN101707625B (zh) * | 2009-11-27 | 2013-07-17 | 中国电信股份有限公司 | 一种对p2p对象进行缓存的方法和系统 |
CN103532999B (zh) * | 2012-07-05 | 2019-03-12 | 腾讯科技(深圳)有限公司 | 数据传输方法、移动设备和后台服务系统 |
CN105812443A (zh) * | 2014-12-31 | 2016-07-27 | 乐视网信息技术(北京)股份有限公司 | 一种p2p系统及业务接入方法 |
CN105450760A (zh) * | 2015-12-04 | 2016-03-30 | 中铁工程装备集团有限公司 | 一种基于p2p的自适应资源下载方法 |
CN106487931B (zh) * | 2016-12-13 | 2019-05-24 | 中国人民解放军国防科学技术大学 | 一种基于相似文件协同的BitTorrent数据分发系统及方法 |
CN109002296A (zh) * | 2017-06-06 | 2018-12-14 | 中兴通讯股份有限公司 | 一种软件下载方法、装置及基站 |
CN107682396B (zh) * | 2017-08-25 | 2021-01-19 | 北京元心科技有限公司 | Im服务器部署方法及系统 |
CN109194766B (zh) * | 2018-09-26 | 2021-09-03 | 北京雷石天地电子技术有限公司 | 一种基于机顶盒的p2p分享方法及系统 |
CN109995876B (zh) * | 2019-04-11 | 2022-04-19 | 深圳市永兴元科技股份有限公司 | 文件传输方法、装置、系统和计算机存储介质 |
CN112988816A (zh) * | 2021-03-16 | 2021-06-18 | 支付宝(杭州)信息技术有限公司 | 一种业务规则加载方法、装置及设备 |
CN113364877B (zh) * | 2021-06-11 | 2022-10-11 | 北京百度网讯科技有限公司 | 数据处理方法、装置、电子设备和介质 |
CN113778673B (zh) * | 2021-08-27 | 2024-02-09 | 深圳市广和通无线股份有限公司 | 数据处理方法、存储介质及设备 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1390862A1 (en) * | 2001-05-25 | 2004-02-25 | SBC Technology Resources, Inc. | Method of impr0ving the reliability of peer-to-peer network downloads |
CN1768335A (zh) * | 2003-03-28 | 2006-05-03 | 株式会社福瑞查尔 | P2p服务方法 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1385311B1 (en) * | 2002-07-23 | 2008-05-28 | Matsushita Electric Industrial Co., Ltd. | Terminal apparatus, communication method, and communication system for authentication of users in a user group in a network |
CN100495995C (zh) * | 2003-04-08 | 2009-06-03 | 国家数字交换系统工程技术研究中心 | 因特网中构造对等网络及获取该网络中共享信息的方法 |
FR2863127A1 (fr) * | 2003-12-02 | 2005-06-03 | Canon Kk | Procedes et dispositifs pour la delivrance asynchrone de donnees numeriques |
-
2006
- 2006-08-31 CN CN 200610127645 patent/CN101136911B/zh active Active
-
2007
- 2007-08-29 WO PCT/CN2007/070584 patent/WO2008025297A1/zh active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1390862A1 (en) * | 2001-05-25 | 2004-02-25 | SBC Technology Resources, Inc. | Method of impr0ving the reliability of peer-to-peer network downloads |
CN1768335A (zh) * | 2003-03-28 | 2006-05-03 | 株式会社福瑞查尔 | P2p服务方法 |
Non-Patent Citations (1)
Title |
---|
ZHANG L. ET AL.: "Study on Implement on Information Sharing Agent Based on P2P", COMPUTER ENGINEERING, vol. 32, no. 7, April 2006 (2006-04-01), pages 129 - 131 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546713A (zh) * | 2010-12-21 | 2012-07-04 | 中国移动通信集团公司 | 漫游场景下的分布式内容分发方法、系统和设备 |
Also Published As
Publication number | Publication date |
---|---|
CN101136911B (zh) | 2010-12-15 |
CN101136911A (zh) | 2008-03-05 |
WO2008025297A8 (fr) | 2009-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008025297A1 (fr) | Procédé de téléchargement de fichiers selon la technique p2p (pair à pair) et système de téléchargement p2p | |
US11194719B2 (en) | Cache optimization | |
US11297140B2 (en) | Point of presence based data uploading | |
EP1802072B1 (en) | Peer-to-peer message format | |
JP4284190B2 (ja) | 管理対象オブジェクトの複写および配信 | |
JP5951071B2 (ja) | プル・モード及びプッシュ・モードを組み合わせるシステム及び方法 | |
US9037657B2 (en) | Systems and methods for peer-to-peer bandwidth allocation | |
CN111200657B (zh) | 一种管理资源状态信息的方法和资源下载系统 | |
JP2011525312A (ja) | エッジデータストレージを使用する移動体ネットワーク環境においてデータを先読みするための方法及び装置 | |
WO2010127618A1 (zh) | 一种实现流媒体内容服务的系统和方法 | |
WO2010028590A1 (zh) | 地址列表的提供方法、对等网络及其调度方法 | |
WO2019184096A1 (zh) | 一种下载数据资源的方法和系统 | |
WO2017071669A1 (zh) | 缓存加速的方法及装置 | |
WO2010111887A1 (zh) | 数据节点装置、对端信息获取方法和系统 | |
CN115567591A (zh) | 内容资源分发方法、内容分发网络、集群及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07785473 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1248/CHENP/2009 Country of ref document: IN |
|
NENP | Non-entry into the national phase |
Ref country code: RU |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 140709 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07785473 Country of ref document: EP Kind code of ref document: A1 |