发明名称 | Method and system for resource download | ||
摘要 | A method for resource download includes steps of: obtaining a download link of a download resource and querying a hash server whether or not stores with a full-text hash of a resource file corresponding to the download link; downloading a head data of the resource file via a source server and calculating a head hash of the resource file if the hash server does not store with the full-text hash of the resource file corresponding to the download link; and adopting a respective download strategy based on whether or not the hash server stores with the full-text hash of the resource file corresponding to the head hash. A system for resource down load is also provided. | ||
申请公布号 | US9438666(B2) | 申请公布日期 | 2016.09.06 |
申请号 | US201314130422 | 申请日期 | 2013.02.26 |
申请人 | TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED | 发明人 | Pang Yongqiang |
分类号 | G06F15/16;H04L29/08 | 主分类号 | G06F15/16 |
代理机构 | Nixon & Vanderhye P.C. | 代理人 | Nixon & Vanderhye P.C. |
主权项 | 1. A method for resource download, comprising steps of: through operation of at least one processor of a download client, obtaining a download link of a resource file and inquiring whether a full-text hash of the resource file corresponding to the download link is stored in a hash server; if the full-text hash of the resource file corresponding to the download link is not stored in the hash server, through operation of at least one processor, downloading a head data of the resource file via a source server and calculating a head hash of the resource file; and if a full-text of the resource file corresponding to the head hash is stored in the hash server, through operation of at least one processor adopting a first download strategy; if the full-text of the resource file corresponding to the head hash is not stored in the hash server, through operation of at least one processor adopting a second download strategy. | ||
地址 | Shenzhen, Guangdong CN |