[go: up one dir, main page]

CN106850817A - A kind of download management equipment, method and data downloading system - Google Patents

A kind of download management equipment, method and data downloading system Download PDF

Info

Publication number
CN106850817A
CN106850817A CN201710084177.8A CN201710084177A CN106850817A CN 106850817 A CN106850817 A CN 106850817A CN 201710084177 A CN201710084177 A CN 201710084177A CN 106850817 A CN106850817 A CN 106850817A
Authority
CN
China
Prior art keywords
file
operator network
download
data source
source node
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
CN201710084177.8A
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201710084177.8A priority Critical patent/CN106850817A/en
Publication of CN106850817A publication Critical patent/CN106850817A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种下载管理设备、方法及数据下载系统,其中,该下载管理设备包括:缓存器,被配置为缓存从数据源节点获得的各个文件以及各个文件的内容摘要,该文件的内容摘要是对文件的内容采用特定数据转换生成的数据;解析器,被配置为获得来自客户端设备的文件下载请求,并根据文件下载请求的下载地址解析出所请求的文件的内容摘要;查找器,被配置为根据文件的内容摘要在缓存器中查找,如果查找到,则将所请求的文件传输至客户端设备;以及回源器,被配置为当在缓存器中没有查找到时,从相关的数据源节点获取所请求的文件,并传输至客户端设备,以及将所请求的文件提供给缓存器进行缓存。

The present invention discloses a download management device, method and data download system, wherein the download management device includes: a buffer configured to cache each file obtained from a data source node and the content abstract of each file, the content of the file The abstract is the data generated by specific data conversion on the content of the file; the parser is configured to obtain the file download request from the client device, and parse out the content abstract of the requested file according to the download address of the file download request; the finder, configured to look in the cache based on the content summary of the file and, if found, transmit the requested file to the client device; The data source node obtains the requested file, transmits it to the client device, and provides the requested file to the cache for caching.

Description

一种下载管理设备、方法及数据下载系统A download management device, method and data download system

技术领域technical field

本发明涉及数据下载技术领域,具体涉及一种用于边缘节点中的下载管理设备、一种数据下载系统,以及一种用于数据下载系统中的下载管理方法。The present invention relates to the technical field of data download, in particular to a download management device used in edge nodes, a data download system, and a download management method used in the data download system.

背景技术Background technique

现有CDN(Content Delivery Network,内容分发网络)通过将数据分发到各个边缘节点,拉近与客户端的距离来提高数据访问速度。其基本思路是尽可能避开互联网上有可能影响数据传输速度和稳定性的瓶颈和环节,使内容传输的更快、更稳定。CDN系统能够实时地根据网络流量和各节点的连接、负载状况以及到用户的距离和响应时间等综合信息将用户的请求重新导向离用户最近的服务节点上。Existing CDN (Content Delivery Network, Content Distribution Network) improves data access speed by distributing data to each edge node and shortening the distance with the client. The basic idea is to avoid bottlenecks and links on the Internet that may affect the speed and stability of data transmission as much as possible, so as to make content transmission faster and more stable. The CDN system can redirect the user's request to the service node closest to the user in real time according to comprehensive information such as network traffic, connection of each node, load status, distance to the user, and response time.

但是,由于现有的每个CDN节点都会尽可能地缓存数据源中所有的文件,因此会带来较大的存储成本。而且有些文件的内容并没有发生变化,仅仅是下载地址,如文件的URL发生了变化,按照现有CDN的缓存方式,也会在一个节点中缓存多份内容相同、URL不同的文件,即重复数据缓存,从而进一步导致了存储的成本较高。However, since each existing CDN node caches all the files in the data source as much as possible, it will bring a large storage cost. Moreover, the content of some files has not changed, only the download address. If the URL of the file has changed, according to the existing CDN caching method, multiple files with the same content and different URLs will be cached in one node, that is, duplicate Data caching further leads to higher storage costs.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的用于边缘节点中的下载管理设备、数据下载系统,以及用于数据下载系统中的下载管理方法。In view of the above problems, the present invention is proposed to provide a download management device used in an edge node, a data download system, and a download management method used in a data download system that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种用于边缘节点中的下载管理设备,包括:缓存器,被配置为缓存从数据源节点获得的各个文件以及各个文件的内容摘要,文件的内容摘要是对文件的内容采用特定数据转换生成的数据;解析器,被配置为获得来自客户端设备的文件下载请求,并根据文件下载请求的下载地址解析出所请求的文件的内容摘要;查找器,被配置为根据解析器解析出的所请求的文件的内容摘要在缓存器中查找所请求的文件,如果查找到,则将所请求的文件传输至客户端设备;以及回源器,被配置为当查找器在缓存器中没有查找到所请求的文件时,从所请求的文件相关的数据源节点获取所请求的文件,并传输至客户端设备,以及将所请求的文件提供给缓存器进行缓存。According to one aspect of the present invention, a download management device used in an edge node is provided, including: a buffer configured to cache each file obtained from a data source node and a content summary of each file, and the content summary of the file is The data generated by specific data conversion is applied to the content of the file; the parser is configured to obtain the file download request from the client device, and parses out the content summary of the requested file according to the download address of the file download request; the finder is configured Searching for the requested file in the cache according to the content summary of the requested file parsed by the parser, and if found, transmitting the requested file to the client device; When the server does not find the requested file in the cache, it obtains the requested file from the data source node related to the requested file, transmits it to the client device, and provides the requested file to the cache for caching.

可选的,回源器适于逐个部分地从数据源节点获取所请求的文件的各部分,并同时向客户端设备传输所请求的文件中所获取的部分,直到完全获取了所请求的文件为止。Optionally, the origin returner is adapted to obtain each part of the requested file from the data source node part by part, and transmit the obtained part of the requested file to the client device at the same time, until the requested file is completely obtained until.

可选的,回源器包括:数据源查询模块,被配置为根据已知的回源表和所请求的文件的下载地址查询所请求的文件相关的数据源节点;直接回源模块,被配置为当边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点包括第一运营商网络的数据源节点时,直接从第一运营商网络的数据源节点获取所请求的文件;代理回源模块,被配置为当边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点是第二运营商网络的数据源节点时,通过第一运营商网络至第二运营商网络的代理集群从第二运营商网络相关的数据源节点获取所请求的文件;以及缓存通知模块,被配置为将通过直接回源模块或代理回源模块获取到所请求的文件之后,通知缓存器对所请求的文件进行缓存。Optionally, the back-to-source device includes: a data source query module configured to query the data source nodes related to the requested file according to the known back-to-source table and the download address of the requested file; the direct back-to-source module is configured to When the edge node is the edge node of the first operator network, and the requested file-related data source nodes include the data source node of the first operator network, directly from the data source node of the first operator network The node obtains the requested file; the proxy back-to-source module is configured to be the edge node of the first operator network when the edge node is the edge node of the first operator network, and the data source node related to the requested file is the data of the second operator network In the case of the source node, the requested file is obtained from the data source node related to the second operator network through the proxy cluster from the first operator network to the second operator network; Or after the proxy back-to-source module obtains the requested file, it notifies the cache to cache the requested file.

可选的,文件的内容摘要包括:安全哈希演算sha系列数据中的一种,或,信息摘要演算MD系列数据中的一种。Optionally, the content summary of the file includes: one type of data in the sha series of secure hash calculations, or one type of data in the MD series of information summary calculations.

可选的,下载管理设备是varniash缓存服务器。Optionally, the download management device is a varniash cache server.

根据本发明的又一方面,提供了一种数据下载系统,包括边缘节点、为不同运营商网络之间提供信息交互服务的代理集群,以及数据源节点,其中边缘节点包括以上所述的下载管理设备。According to yet another aspect of the present invention, a data download system is provided, including an edge node, a proxy cluster that provides information interaction services between different operator networks, and a data source node, wherein the edge node includes the above-mentioned download management equipment.

可选的,还包括:以上所述的用于提供文件下载地址的管理设备,边缘节点接收到的文件下载请求的下载地址由用于提供文件下载地址的管理设备所提供。Optionally, it also includes: the above-mentioned management device for providing a file download address, the download address of the file download request received by the edge node is provided by the management device for providing the file download address.

可选的,为不同运营商网络之间提供信息交互服务的代理集群包括第一运营商网络至第二运营商网络的代理集群,以及第二运营商网络至第一运营商网络的代理集群,其中,第一运营商网络至第二运营商网络的代理集群包括:边缘侧第一运营商网络代理集群,被配置为接收来自第一运营商网络的边缘节点的文件下载请求,以及向第一运营商网络的边缘节点返回所请求的文件;传输通道,被配置为从边缘侧第一运营商网络代理集群向源侧第二运营商网络代理集群传输信息,以及从源节点侧第二运营商网络代理集群向边缘侧第一运营商网络代理集群传输信息;以及源节点侧第二运营商网络代理集群,被配置为根据通过传输通道接收的来自边缘侧第一运营商网络代理集群的文件下载请求,向第二运营商网络相关的数据源节点发送文件下载请求,以及接收第二运营商网络相关的数据源节点返回的所请求的文件,并通过传输通道传输至边缘侧第一运营商网络代理集群;Optionally, the agent clusters that provide information exchange services between different operator networks include agent clusters from the first operator network to the second operator network, and agent clusters from the second operator network to the first operator network, Wherein, the proxy clusters from the first operator network to the second operator network include: an edge-side first operator network proxy cluster configured to receive a file download request from an edge node of the first operator network, and send a file download request to the first The edge node of the operator network returns the requested file; the transmission channel is configured to transmit information from the first operator network agent cluster on the edge side to the second operator network agent cluster on the source side, and from the second operator network agent cluster on the source node side The network proxy cluster transmits information to the first operator network proxy cluster on the edge side; and the second operator network proxy cluster on the source node side is configured to download the file received from the edge side first operator network proxy cluster through the transmission channel Request, send a file download request to the data source node related to the second operator network, and receive the requested file returned by the data source node related to the second operator network, and transmit it to the edge-side first operator network through the transmission channel agent cluster;

第二运营商网络至第一运营商网络的代理集群包括:边缘侧第二运营商网络代理集群,被配置为接收来自第二运营商网络的边缘节点的文件下载请求,以及向第二运营商网络的边缘节点返回所请求的文件;传输通道,被配置为从边缘侧第二运营商网络代理集群向源节点侧第一运营商网络代理集群传输信息,以及从源节点侧第一运营商网络代理集群向边缘侧第二运营商网络代理集群传输信息;以及源节点侧第一运营商网络代理集群,被配置为根据通过传输通道接收的来自边缘侧第二运营商网络代理集群的文件下载请求,向第一运营商网络相关的数据源节点发送文件下载请求,以及接收第一运营商网络相关的数据源节点返回的所请求的文件,并通过传输通道传输至边缘侧第二运营商网络代理集群。The proxy cluster from the second operator network to the first operator network includes: an edge-side second operator network proxy cluster configured to receive a file download request from an edge node of the second operator network, and send a file download request to the second operator network The edge node of the network returns the requested file; the transmission channel is configured to transmit information from the second operator network agent cluster on the edge side to the first operator network agent cluster on the source node side, and from the first operator network agent cluster on the source node side The proxy cluster transmits information to the proxy cluster of the second operator's network on the edge side; and the proxy cluster of the first operator's network on the source node side is configured to receive a file download request from the proxy cluster of the second operator's network on the edge side through the transmission channel , send a file download request to the data source node related to the first operator network, and receive the requested file returned by the data source node related to the first operator network, and transmit it to the second operator network agent on the edge side through the transmission channel cluster.

根据本发明的另一方面,提供了一种用于数据下载系统中的下载管理方法,数据下载系统至少包括边缘节点和数据源节点,该下载管理方法包括:边缘节点获得来自客户端设备的文件下载请求,并根据文件下载请求的下载地址解析出所请求的文件的内容摘要;边缘节点根据所请求的文件的内容摘要在缓存中查找是否存在所请求的文件,如果存在,则将所请求的文件传输至客户端设备;以及如果在缓存中没有查找到所请求的文件,则边缘节点从所请求的文件相关的数据源节点获取所请求的文件,并传输至客户端设备;边缘节点缓存从数据源节点获得的文件以及文件的内容摘要,文件的内容摘要是对文件的内容采用特定数据转换生成的数据。According to another aspect of the present invention, a download management method used in a data download system is provided. The data download system includes at least an edge node and a data source node. The download management method includes: the edge node obtains a file from a client device Download the request, and analyze the content abstract of the requested file according to the download address of the file download request; the edge node searches the cache for the requested file according to the content abstract of the requested file, and if it exists, the requested file be transmitted to the client device; and if the requested file is not found in the cache, the edge node obtains the requested file from a data source node related to the requested file and transmits it to the client device; the edge node caches the data from the The file obtained by the source node and the content summary of the file. The content summary of the file is the data generated by applying specific data conversion to the content of the file.

根据本发明的实施例,可以将从所请求文件下载地址解析出的文件内容摘要作为缓存文件查询依据,在缓存中查询是否已经存储了所请求的文件,而不是根据文件的整个URL作为索引查询,同理,在缓存中存储文件时也是根据文件的内容摘要是否相同判断是否为同一份文件。因此,如果两个文件的URL不同,但文件的内容数据实质相同,那么该文件的内容摘要就是相同的,进而,如果该文件此前已经在边缘节点中缓存过了,那么后续即便是客户端设备再发来一个不同的文件下载地址URL,只要该文件的内容摘要和缓存中的一致,那么边缘节点也不会再去数据源节点重复下载该文件,而是直接根据该文件的内容摘要从缓存中找到该文件提供给客户端设备。由此,一方面减少了缓存中的重复数据,另一方面也提高了为客户端设备下载文件的效率。According to the embodiment of the present invention, the file content digest parsed from the download address of the requested file can be used as the basis for querying the cached file, and whether the requested file has been stored in the cache is queried instead of using the entire URL of the file as an index query , in the same way, when storing files in the cache, it is also judged whether they are the same file according to whether the content abstract of the file is the same. Therefore, if the URLs of two files are different, but the content data of the files are substantially the same, then the content abstracts of the files are the same. Furthermore, if the files have been cached in the edge node before, then even if the client device Then send a different file download address URL, as long as the content summary of the file is consistent with the one in the cache, then the edge node will not go to the data source node to download the file repeatedly, but directly download the file from the cache according to the content summary of the file This file is found in and served to the client device. Thus, on the one hand, the duplicate data in the cache is reduced, and on the other hand, the efficiency of downloading files for the client device is also improved.

进一步,边缘节点通过代理集群从数据源节点获取文件,当文件较大时,可以逐个部分的从数据源节点获取所请求文件的各部分,并同时向客户端设备传输所请求文件中已获取的部分,即非阻塞模式的回源,可以实现边缓存边让客户端设备下载。避免了使用CDN时,需要等到整个文件完全缓存才能下载的问题,整个过程客户端设备不用等待。Further, the edge node obtains the file from the data source node through the proxy cluster. When the file is large, it can obtain each part of the requested file from the data source node one by one, and at the same time transmit the obtained parts of the requested file to the client device. Part, that is, back-to-source in non-blocking mode, can be cached and downloaded by the client device at the same time. It avoids the problem of waiting for the entire file to be fully cached before downloading when using a CDN, and the client device does not have to wait for the entire process.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明一个实施例的数据下载系统示意图;Fig. 1 shows a schematic diagram of a data downloading system according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的用于提供文件下载地址的管理设备示意图;Fig. 2 shows a schematic diagram of a management device for providing a file download address according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的缓存器中的缓存逻辑示意图;FIG. 3 shows a schematic diagram of cache logic in a cache according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的电信至网通的代理集群示意图;Fig. 4 shows a schematic diagram of a proxy cluster of Telecom to Netcom according to an embodiment of the present invention;

图5示出了根据本发明一个实施例的数据下载系统示意图;Fig. 5 shows a schematic diagram of a data downloading system according to an embodiment of the present invention;

图6示出了根据本发明一个实施例的用于提供文件下载地址的管理方法流程图;以及FIG. 6 shows a flowchart of a management method for providing a file download address according to an embodiment of the present invention; and

图7示出了根据本发明一个实施例的用于数据下载系统中的下载管理方法流程图。Fig. 7 shows a flowchart of a download management method used in a data download system according to an embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

请参阅图1,其为根据本发明一个实施例的数据下载系统示意图。该下载系统包括第一运营商网络的边缘节点100、第二运营商网络的边缘节点200、第一运营商网络至第二运营商网络的代理集群300、第二运营商网络至第一运营商网络的代理集群400、第一运营商网络的数据源节点500以及第二运营商网络的数据源节点600。此外,图中还示出了与该数据下载系统有数据交互的第一运营商网络的客户端设备700和第二运营商网络的客户端设备800。应当注意的是,该系统中包括的边缘节点、数据源节点、代理集群等都可以是一个或多个。Please refer to FIG. 1 , which is a schematic diagram of a data downloading system according to an embodiment of the present invention. The download system includes an edge node 100 of the first operator network, an edge node 200 of the second operator network, a proxy cluster 300 from the first operator network to the second operator network, and a proxy cluster 300 from the second operator network to the first operator network. The proxy cluster 400 of the network, the data source node 500 of the first operator network, and the data source node 600 of the second operator network. In addition, the figure also shows the client device 700 of the first operator's network and the client device 800 of the second operator's network that have data interaction with the data downloading system. It should be noted that there may be one or more edge nodes, data source nodes, proxy clusters, etc. included in the system.

第一运营商网络的边缘节点100和第二运营商网络的边缘节点200中均包括下载管理设备110,该下载管理设备110具体包括缓存器102、解析器104、查找器106以及回源器108。第一运营商网络至第二运营商网络的代理集群300具体包括边缘侧第一运营商网络代理集群302、第一传输通道304以及源节点侧第二运营商网络代理集群306。第二运营商网络至第一运营商网络的代理集群400具体包括边缘侧第二运营商网络代理集群402、第二传输通道404以及源节点侧第一运营商网络代理集群406。第一运营商网络的数据源节点500包括数据源节点1、数据源节点2以及数据源节点n等多个处于第一运营商网络中的数据源节点。第二运营商网络的数据源节点600包括数据源节点1、数据源节点2以及数据源节点n等多个处于第二运营商网络中的数据源节点。Both the edge node 100 of the first operator network and the edge node 200 of the second operator network include a download management device 110, and the download management device 110 specifically includes a cache 102, a parser 104, a finder 106, and a source returner 108 . The proxy clusters 300 from the first operator network to the second operator network specifically include a first operator network proxy cluster 302 at an edge side, a first transmission channel 304 , and a second operator network proxy cluster 306 at a source node side. The proxy cluster 400 from the second operator network to the first operator network specifically includes a second operator network proxy cluster 402 at the edge side, a second transmission channel 404 , and a first operator network proxy cluster 406 at the source node side. The data source node 500 of the first operator network includes multiple data source nodes in the first operator network, such as data source node 1, data source node 2, and data source node n. The data source node 600 of the second operator network includes multiple data source nodes in the second operator network, such as data source node 1, data source node 2, and data source node n.

由于第一运营商网络的边缘节点100和第二运营商网络的边缘节点200中包括的下载管理设备110结构相同,数据处理流程也完全一样,仅仅是两个边缘节点所处的运营商网络不同,负责连接不同运营商网络的客户端设备,所以下面主要以第一运营商网络的边缘节点100的工作原理为例进行说明,第二运营商网络的边缘节点200的内部结构和工作原理参考第一运营商网络的边缘节点100的相关实施例内容即可,不再赘述。Since the download management device 110 included in the edge node 100 of the first operator network and the edge node 200 of the second operator network have the same structure, the data processing flow is also exactly the same, only the operator networks where the two edge nodes are located are different. , responsible for connecting client devices of different operator networks, so the following mainly takes the working principle of the edge node 100 of the first operator network as an example for illustration, and the internal structure and working principle of the edge node 200 of the second operator network refer to Section The contents of the relevant embodiments of the edge node 100 of an operator network are sufficient, and will not be repeated here.

在本发明的一个实施例中,某客户端设备700连接边缘节点100请求下载文件,具体而言,客户端设备700向边缘节点100发送一个文件下载请求,该下载请求包括所请求文件的下载地址,解析器104在获得文件下载请求后,根据该文件下载请求的下载地址解析出所请求的文件的内容摘要。在下载请求中包含所请求文件的下载地址,下载地址最常见的是所请求文件的URL(Uniform Resource Locator,统一资源定位符)。在本发明的一个实施例中,客户端设备700发给第一运营商网络的边缘节点100的所请求文件的URL与现有技术中的URL不同,现有技术中的URL一般包括协议类型、存放文件的主机域名、路径和文件名,URL的一般格式为(带方括号[]的为可选项):protocol://hostname[:port端口]/path/[;parameters][?query查询]#fragment片段;而在本发明实施例中所请求文件的URL除了包含以上常规URL内容以外,还包括所请求的文件的内容摘要。In one embodiment of the present invention, a certain client device 700 connects to the edge node 100 to request to download a file, specifically, the client device 700 sends a file download request to the edge node 100, and the download request includes the download address of the requested file After obtaining the file download request, the parser 104 parses out the content summary of the requested file according to the download address of the file download request. The download request includes the download address of the requested file, and the most common download address is the URL (Uniform Resource Locator, Uniform Resource Locator) of the requested file. In one embodiment of the present invention, the URL of the requested file sent by the client device 700 to the edge node 100 of the first operator network is different from the URL in the prior art. The URL in the prior art generally includes the protocol type, The host domain name, path and file name where the file is stored. The general format of the URL is (the ones with square brackets [] are optional): protocol://hostname[:port]/path/[;parameters][? query query]#fragment fragment; and in the embodiment of the present invention, the URL of the requested file not only includes the content of the above conventional URL, but also includes a summary of the content of the requested file.

例如,传统上,请求文件的现有常规URL为:For example, traditionally, the existing general URL to request a file is:

http://wsdl11.yunpan.cn/share.php?method=Share.download&xqid=X XXX&nid=XXXX&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX。其中,XXXX代表文件路径及文件名的具体信息。http://wsdl11.yunpan.cn/share.php? method=Share.download&xqid=XXXX&nid=XXXX&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX. Among them, XXXX represents the specific information of the file path and file name.

而在本发明实施例中,请求文件的URL为:In the embodiment of the present invention, the URL of the requested file is:

http://wsdl11.yunpan.cn/share.php?method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=X XXX&fname=1.txt&e=XXXX&st=XXXXX。http://wsdl11.yunpan.cn/share.php? method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX.

通过对比以上两个URL可知,第二个URL比第一个URL多了一部分内容,即:By comparing the above two URLs, we can see that the second URL has more content than the first URL, namely:

“fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155”,这部分内容即为所请求文件的内容摘要。文件的内容摘要主要是指针对文件的内容采用特定数据转换方法来生成可以对文件内容进行标识的数据,内容摘要计算算法例如为安全哈希演算sha系列算法(sha1、sha224、以及sha256等)中的一种、信息摘要演算MD系列算法(如md3、md4以及md5等)中的一种、以及本领域已知的其他算法。只要内容摘要能够作为文件内容的唯一标识,相同内容的文件对应内容摘要相同,不同内容的文件对应的内容摘要不同,所以可以生成这种内容摘要的方法都在本发明的保护范围之内。一般而言,通过文件的全部内容进行特定数据转换后生成的内容摘要的唯一标识性比较强,但是也不排除在某些情况下,只根据文件的部分关键内容所生成的内容摘要的唯一标识性也可以满足实际需求,这种情况下也是可行的。"fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155", this part is the content abstract of the requested file. The content summary of a file mainly refers to the use of a specific data conversion method for the content of the file to generate data that can identify the content of the file. The content summary calculation algorithm is, for example, the secure hash algorithm sha series of algorithms (sha1, sha224, and sha256, etc.) One of the information summary calculation MD series algorithms (such as md3, md4 and md5, etc.), and other algorithms known in the art. As long as the content abstract can be used as the unique identifier of the file content, files with the same content correspond to the same content abstract, and files with different content correspond to different content abstracts, so methods that can generate such content abstracts are within the protection scope of the present invention. Generally speaking, the unique identification of the content summary generated after specific data conversion through the entire content of the file is relatively strong, but in some cases, the unique identification of the content summary generated only based on part of the key content of the file is not excluded Sex can also fulfill a practical need, which is also possible in this case.

文件的URL一般是文件在上传到数据源节点时生成的。下面结合一个例子,介绍客户端设备100向第一运营商网络的边缘节点100发出的下载请求中所请求文件的URL是如何获得的。请一并参考图2,其示出了根据本发明一个实施例的用于提供文件下载地址的管理设备示意图,该管理设备210包括资源定位器212、摘要生成器214以及下载地址生成器216。该管理设备210可以设置于相应的数据源节点中,比如第一运营商网络的数据源节点500或者是第二运营商网络的数据源节点600,也可以独立于数据源节点之外设置。当管理设备210独立于数据源节点设置时,相当于各数据源节点基本仅作为文件存储服务器,而管理设备210则作为文件存储之外、负责文件相关管理、维护等工作的管理设备,但是管理设备210各数据源节点之间可以相互通信,能够获得彼此所需的各种信息。The URL of the file is generally generated when the file is uploaded to the data source node. The following describes how to obtain the URL of the requested file in the download request sent by the client device 100 to the edge node 100 of the first operator network with an example. Please also refer to FIG. 2 , which shows a schematic diagram of a management device for providing a file download address according to an embodiment of the present invention. The management device 210 includes a resource locator 212 , a summary generator 214 and a download address generator 216 . The management device 210 may be set in a corresponding data source node, such as the data source node 500 of the first operator network or the data source node 600 of the second operator network, or it may be set independently of the data source node. When the management device 210 is set independently from the data source nodes, it means that each data source node is basically only used as a file storage server, and the management device 210 is used as a management device responsible for file-related management and maintenance other than file storage, but the management The data source nodes of the device 210 can communicate with each other, and can obtain various information required by each other.

具体而言,一方面,当某个文件上传到某个数据源节点之后,管理设备210中的资源定位器212就可以获得该文件在这个数据源节点上的存储路径,进而根据该存储路径生成文件的资源定位信息,即相当于生成该文件URL中路径和文件名这部分的内容,例如生成前面那个URL实例中的这部分内容:wsdl11.yunpan.cn/share.php?method=Share.download&xqid=XXXX&nid=XXX X&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX。Specifically, on the one hand, after a file is uploaded to a data source node, the resource locator 212 in the management device 210 can obtain the storage path of the file on the data source node, and then generate The resource location information of the file is equivalent to generating the content of the path and file name in the URL of the file, for example, generating the content of the previous URL example: wsdl11.yunpan.cn/share.php? method=Share.download&xqid=XXXX&nid=XXXX X&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX.

另一方面,管理设备210中的摘要生成器214可以通过数据源节点知道该文件的具体内容,进而利用各种内容摘要计算方法计算该文件的内容以生成文件的内容摘要,前面已经介绍过文件内容摘要的各种具体实现方案,此处不再赘述。例如生成前面那个URL实例中的这部分内容:On the other hand, the summary generator 214 in the management device 210 can know the specific content of the file through the data source node, and then use various content summary calculation methods to calculate the content of the file to generate the content summary of the file. Various specific implementation schemes of the content abstract will not be repeated here. For example, generate this part of the previous URL example:

fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155。fhash = 4c9a055de0a290341abf7fff6a4d8c0f2af7f155.

此后,管理设备210中的下载地址生成器216根据资源定位器212提供的该文件的资源定位信息和摘要生成器214提供的该文件的内容摘要,生成该文件完整的下载地址,如URL,在该URL中至少包括该文件的资源定位信息和该文件的内容摘要。例如生成给前面那个URL实例中的完整URL:Thereafter, the download address generator 216 in the management device 210 generates a complete download address of the file, such as a URL, according to the resource location information of the file provided by the resource locator 212 and the content abstract of the file provided by the abstract generator 214. The URL includes at least the resource location information of the file and the content summary of the file. For example, to generate the full URL in the previous URL instance:

http://wsdl11.yunpan.cn/share.php?method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=X XXX&fname=1.txt&e=XXXX&st=XXXXX。http://wsdl11.yunpan.cn/share.php? method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX.

由此可以看出,通过管理设备210可以为各种已经上传到某个数据源节点的文件生成对应的下载地址,如URL。进而,当客户端设备100需要下载某个文件时,就可以通过点击网站上的该文件或者查看该文件的URL等多种方式获得该文件的下载地址,然后向边缘节点发送包括该下载地址的下载请求。从而使得第一运营商网络的边缘节点100等边缘节点获得客户端设备100所请求的文件的URL,而且该URL中不仅包括常规的URL参数,还包括所请求文件的内容摘要。由此可见,本质上,边缘节点100获得的客户端设备700所请求文件的URL是管理设备210所提供的。It can be seen from this that the management device 210 can generate corresponding download addresses, such as URLs, for various files that have been uploaded to a certain data source node. Furthermore, when the client device 100 needs to download a certain file, it can obtain the download address of the file by clicking on the file on the website or checking the URL of the file, etc., and then send the download address including the download address to the edge node. download request. Therefore, edge nodes such as the edge node 100 of the first operator network obtain the URL of the file requested by the client device 100, and the URL not only includes conventional URL parameters, but also includes a content summary of the requested file. It can be seen that, essentially, the URL of the file requested by the client device 700 obtained by the edge node 100 is provided by the management device 210 .

在本发明的一个实施例中,为了更好的保证数据传输的安全性,管理设备210在为文件生成URL的同时,还可以根据预置的签名生成方式及文件URL的全部内容或部分关键内容生成签名,比如根据URL中的文件内容摘要、文件存储路径等关键信息生成签名,当有客户端设备700需要下载该文件时,将文件URL和对应的签名一起提供给客户端设备700,进而客户端设备700向边缘节点100发送下载请求时包括文件URL和对应的签名。边缘节点100维护与管理设备210相同的签名生成方式,在边缘节点100接收到客户端设备700的文件下载请求后,解析器104根据所请求的文件URL以及预置的签名生成方式,自行生成该文件URL对应的签名,将自行生成的该签名与客户端设备700发送的文件下载请求中携带的签名对比,如果一致,则判断URL没有被修改,进行后续下载文件的相关处理;如果不一致,则说明客户端设备700发送的文件URL内容已经被修改,例如可能是被恶意篡改了URL中的文件内容摘要,进而会向客户端设备700返回错误或非法提示,不再进行后续相关的文件下载处理。In one embodiment of the present invention, in order to better ensure the security of data transmission, while the management device 210 generates URLs for files, it can also Generate a signature, such as generating a signature based on key information such as a summary of the file content in the URL, a file storage path, etc. When a client device 700 needs to download the file, the file URL and the corresponding signature are provided to the client device 700, and then the client When the end device 700 sends the download request to the edge node 100, it includes the file URL and the corresponding signature. The edge node 100 maintains the same signature generation method as the management device 210. After the edge node 100 receives the file download request from the client device 700, the resolver 104 generates the signature by itself according to the requested file URL and the preset signature generation method. For the signature corresponding to the file URL, compare the self-generated signature with the signature carried in the file download request sent by the client device 700. If they are consistent, it is judged that the URL has not been modified, and subsequent relevant processing of the downloaded file is performed; if inconsistent, then It indicates that the content of the URL of the file sent by the client device 700 has been modified, for example, the summary of the file content in the URL may be maliciously tampered with, and then an error or illegal prompt will be returned to the client device 700, and no subsequent related file download processing will be performed. .

前面已经提到,边缘节点100的解析器104在接收到客户端设备700的下载请求后,还用于根据该文件下载请求的下载地址解析出所请求的文件的内容摘要。进而,边缘节点100中的查找器106根据解析器104解析出的所请求文件的内容摘要在缓存器102中查找,如果查找到所请求的文件,则直接将所请求的文件传输至客户端设备700,无需再去数据源节点获取该文件。As mentioned above, after receiving the download request from the client device 700, the parser 104 of the edge node 100 is further configured to parse out the content abstract of the requested file according to the download address of the file download request. Furthermore, the finder 106 in the edge node 100 searches in the cache 102 according to the content summary of the requested file parsed by the parser 104, and if the requested file is found, the requested file is directly transmitted to the client device 700, there is no need to go to the data source node to obtain the file.

缓存器102缓存了从各数据源节点(如第一运营商网络的数据源节点500以及第二运营商网络的数据源节点600等各数据源节点)获得的各个文件以及各个文件的内容摘要。在本发明的一个实施例中,如果客户端设备700所请求的文件在缓存器102中有,则直接将缓存器中的该文件提供给客户端设备700;如果缓存器102中没有,就需要到相关的数据源节点去下载,从数据源节点获得所请求的文件后,一方面缓存到缓存器102以便后续使用,另一方面提供给客户端设备700。The cache 102 caches each file obtained from each data source node (such as each data source node 500 of the first operator network and the data source node 600 of the second operator network) and content abstracts of each file. In one embodiment of the present invention, if the file requested by the client device 700 is in the cache 102, the file in the cache is directly provided to the client device 700; Go to the relevant data source node to download, after obtaining the requested file from the data source node, on the one hand, it is cached in the cache 102 for subsequent use, and on the other hand, it is provided to the client device 700 .

通过上面的过程可以看出,缓存器102中存储的各个文件都是从数据源节点获得的。而且,由于解析器104可以解析出文件的内容摘要,如果缓存器102中没有该内容摘要对应的文件,就会根据文件下载请求从相关的数据源节点获取,而文件下载请求的下载地址中就包含文件的内容摘要,因此缓存器102在从数据源节点获得该文件后,就已经知道该文件对应的内容摘要是什么,进而缓存器102中就会缓存该文件以及该文件的内容摘要。前面提过,文件的内容摘要有多种具体实现方案,比如可以是文件的sha1,也可以是MD5。此外,由于sha1一般比较长、但唯一标识性更好,MD5比较短、更利于存储,因此,可以将sha1和MD5结合起来使用。比如,在所请求文件的URL中记录的文件内容摘要是sha1,但是缓存器102可以对sha1再进行一次数据转换,生成更短的hash值,即MD5,然后在缓存中存储的是文件以及文件对应的MD5,将这个MD5作为在缓存器102中查找文件数据的索引关键词key,如图3所示根据本发明一个实施例的缓存器中的缓存逻辑示意图。It can be seen from the above process that each file stored in the cache 102 is obtained from the data source node. Moreover, since the parser 104 can parse out the content abstract of the file, if there is no file corresponding to the content abstract in the cache 102, it will be obtained from the relevant data source node according to the file download request, and the download address of the file download request will be contains the content abstract of the file, so after the cache 102 obtains the file from the data source node, it already knows what the content abstract corresponding to the file is, and then the cache 102 will cache the file and the content abstract of the file. As mentioned earlier, there are many specific implementation schemes for the content summary of the file, for example, it can be the sha1 of the file, or it can be MD5. In addition, since sha1 is generally longer, but has better uniqueness, MD5 is shorter and more convenient for storage. Therefore, sha1 and MD5 can be used in combination. For example, the file content abstract recorded in the URL of the requested file is sha1, but the cache 102 can perform data conversion on sha1 again to generate a shorter hash value, namely MD5, and then store the file and the file in the cache Corresponding to MD5, use this MD5 as an index keyword key for searching file data in the cache 102 , as shown in FIG. 3 , a schematic diagram of cache logic in the cache according to an embodiment of the present invention.

可选的,缓存器102还可以为各文件设置缓存有效时间,因为缓存容量是有限的,通过设置缓存有效时间,可以及时清除长期不用的文件对缓存的占用。此外,还可以判断文件是否需要缓存,如果有些文件不适合缓存,即使从数据源节点获得了所需文件,缓存器108也不会对其进行缓存,后续如果有客户端设备700再请求该文件,边缘节点100会再从数据源节点获取文件提供给客户端设备700。另外,缓存器102还可以维护一个禁止下载名单,如果客户端设备700所请求的文件的内容摘要在该禁止下载名单中,则边缘节点100既不会从缓存器102中查找该文件发送给客户端设备700,也不会通过向数据源节点获取该文件发送给客户端设备700,而是告知客户端设备700该文件禁止下载。Optionally, the cache 102 can also set a cache valid time for each file, because the cache capacity is limited, by setting the cache valid time, the occupancy of the cache by long-term unused files can be cleared in time. In addition, it can also be determined whether the file needs to be cached. If some files are not suitable for caching, even if the required file is obtained from the data source node, the cache 108 will not cache it. If there is a client device 700 to request the file later , the edge node 100 will obtain the file from the data source node and provide it to the client device 700 . In addition, the cache 102 can also maintain a download prohibition list, if the content abstract of the file requested by the client device 700 is in the download prohibition list, the edge node 100 will not search the file from the cache 102 and send it to the client. The end device 700 will not send the file to the client device 700 by obtaining the file from the data source node, but inform the client device 700 that the file is prohibited from being downloaded.

由于缓存器102具有前面所说的缓存逻辑,因此查找器106可以根据所请求文件的内容摘要在缓存器102中进行查找,是否存在与文件内容摘要对应的文件,如果查找到,就直接将缓存中的该文件发送给客户端设备700。Since cache 102 has the aforementioned caching logic, finder 106 can search in cache 102 according to the content abstract of the requested file, whether there is a file corresponding to the file content abstract, and if found, it will directly cache The file in is sent to the client device 700.

应当注意的是,一般每个运营商网络都会有多个边缘节点,又会存在多个运营商网络,缓存器102的缓存逻辑可以是每个运营商网络的所有边缘节点共同维护一个,例如所有电信边缘节点共同维护一个缓存逻辑,即每个电信边缘节点获得的文件都存在同一个逻辑上的缓存器102中,进而该缓存器102中缓存的文件可以为所有电信边缘节点使用,即查找器106可以在这个所有电信边缘节点共同维护的缓存器102中去查找所需的文件。此外,还可以是以区域为单位,即同一个运营商的某个区域的多个边缘节点共同维护一个缓存器102,比如北京的多个电信边缘节点共同维护一个缓存器,上海的多个电信边缘节点共同维护另外一个缓存器,北京的电信边缘节点可以在北京的缓存器中查找是否有所需的文件,如果没有查找到,就认为没有,只能去数据源节点获取;上海的电信边缘节点可以在上海的缓存器中查找是否有所需的文件,如果没有,也只能再去数据源节点获取。再或者,还可以是每个边缘节点都单独维护一个缓存逻辑,即各自维护各自的缓存器102,每个边缘节点只能查找自己的缓存器,如果没找到,就需要到数据源节点去获取文件。总之,缓存器102的缓存逻辑可以根据实际需要进行不同设置,这些都在本发明的保护范围之内。It should be noted that generally each operator network will have multiple edge nodes, and there will be multiple operator networks. The cache logic of the buffer 102 can be maintained by all edge nodes of each operator network, for example, all The telecommunications edge nodes jointly maintain a cache logic, that is, the files obtained by each telecommunications edge node are stored in the same logical cache 102, and the files cached in the cache 102 can be used by all telecommunications edge nodes, that is, the finder 106 may search for the required file in the cache 102 jointly maintained by all telecom edge nodes. In addition, it can also be based on a region, that is, multiple edge nodes in a certain area of the same operator jointly maintain a buffer 102, for example, multiple telecom edge nodes in Beijing jointly maintain a buffer, and multiple telecom edge nodes in Shanghai The edge nodes jointly maintain another cache. The telecom edge nodes in Beijing can check whether there is a required file in the cache in Beijing. The node can check whether there is the required file in the cache in Shanghai. If not, it can only go to the data source node to obtain it. Or, it is also possible that each edge node maintains a separate cache logic, that is, each maintains its own cache 102, and each edge node can only search its own cache. If it is not found, it needs to go to the data source node to obtain document. In short, the cache logic of the cache 102 can be set differently according to actual needs, and these are all within the protection scope of the present invention.

如果查找器106根据文件的内容摘要在缓存器102中没有查找到对应的文件,则通知回源器108,进而回源器108根据回源表和从所请求文件的下载地址从相关的数据源节点获取所请求的文件,并传输述客户端设备700,并且将所请求的文件提供给缓存器102进行缓存。具体而言,回源器108中维护一个回源表,该回源表中记录有文件的内容摘要和/或数据源节点编号,以及数据源节点地址之间的对应关系。If the finder 106 does not find the corresponding file in the cache 102 according to the content summary of the file, it will notify the source-returning device 108, and then the source-returning device 108 will download from the relevant data source according to the source-returning table and the download address of the requested file. The node obtains the requested file, transmits it to the client device 700, and provides the requested file to the cache 102 for caching. Specifically, the source-returning device 108 maintains a source-returning table, which records the content abstract of the file and/or the number of the data source node, and the corresponding relationship between the address of the data source node.

所谓数据源节点编号,可以理解为是数据源节点服务器或服务器集群的编号,仍然以前面的URL实例为例说明:The so-called data source node number can be understood as the number of the data source node server or server cluster, still using the previous URL example as an example:

http://wsdl11.yunpan.cn/share.php?method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=X XXX&fname=1.txt&e=XXXX&st=XXXXX。该URL中“wsdl”后面的“11”就是数据源节点的编号,通过该标号可以在回源表中找到与该编号对应的主机地址,比如数据源节点的具体IP地址。如果该标号对应的是一个数据源节点的集群,那么通过该编号可以在回源表中查到多个数据源节点的主机地址,进而回源器108可以从其中的任何一个主机获得所需的文件。http://wsdl11.yunpan.cn/share.php? method=Share.download&fhash=4c9a055de0a290341abf7fff6a4d8c0f2af7f155&xqid=XXXX&nid=XXXX&cqid=XXXX&fname=1.txt&e=XXXX&st=XXXXX. The "11" after "wsdl" in the URL is the number of the data source node. Through this label, the host address corresponding to the number can be found in the back-to-source table, such as the specific IP address of the data source node. If the label corresponds to a cluster of data source nodes, the number can be used to find the host addresses of multiple data source nodes in the back-to-source table, and then the back-to-source device 108 can obtain the required information from any one of the hosts. document.

前面提到,由于回源表中也可以保存文件的内容摘要和存放该文件的数据源节点地址之间的对应关系,因此,还可以利用所请求文件的内容摘要查找数据源节点的地址。在回源表中,同一个文件的内容摘要也可能对应着多个数据源节点地址,回源器108从中选择一个地址到相应的数据源节点去获取所需的文件。As mentioned earlier, since the back-to-source table can also save the correspondence between the content abstract of the file and the address of the data source node storing the file, the address of the data source node can also be found by using the content abstract of the requested file. In the back-to-source table, the content abstract of the same file may also correspond to multiple data source node addresses, and the back-to-source device 108 selects one address to obtain the required file from the corresponding data source node.

无论是根据所请求文件的URL中的数据源节点编号查找存储该文件的数据源节点,还是根据所请求文件的内容摘要查找存储该文件的数据源节点,如果只找到一个数据源节点存储有所请求的文件,则直接根据回源表提供的该数据源节点地址去获取文件数据。如果找到多个数据源节点,则可以根据实际需要有多种选择方式。例如,可以优先从同一运营商的数据源节点获取所需的文件,如客户端设备700是第一运营商网络的,边缘节点100也是第一运营商网络的,那么,如果查找到的存储所需文件的多个数据源节点中既有第一运营商网络的数据源节点也有第二运营商网络的数据源节点,那么回源器108优先选择从第一运营商网络的数据源节点获取所需的文件。再例如,可以考虑存储所需文件的多个数据源节点的负载状况,即根据负载均衡的原理选择负载相对最轻的一个数据源节点获取所需文件。Whether searching for the data source node storing the file based on the data source node number in the URL of the requested file, or searching for the data source node storing the file based on the content summary of the requested file, if only one data source node is found For the requested file, the file data is obtained directly according to the data source node address provided by the back-to-source table. If multiple data source nodes are found, there are multiple selection methods according to actual needs. For example, the required files can be preferentially obtained from the data source nodes of the same operator. If there are multiple data source nodes that need files, there are both data source nodes of the first operator network and data source nodes of the second operator network, then the origin return device 108 preferentially selects the data source node of the first operator network to obtain all required documents. For another example, the load status of multiple data source nodes storing the required files may be considered, that is, according to the principle of load balancing, a data source node with the lightest load is selected to obtain the required files.

回源器108维护的回源表中的内容,可以根据从各个数据源节点获取的信息生成。例如,每当有文件上传到某个数据源节点时,都会更新一条存储记录到回源表,该条记录中记录着该文件的内容摘要和/或存储该文件的数据源节点编号,以及对应的数据源节点的具体地址,进而,回源表中便可以记录各个文件以及存储该文件的数据源节点的地址信息。回源表不限于存储在边缘节点100中,也可以存储在其他专门的管理设备中,只要数据源节点能够和边缘节点100或者该专门的管理设备进行通信,使得回源表中的信息能够根据数据源节点存储文件的更新而更新,边缘节点100中的回源器108能够及时获取到回源表中的信息即可。前面提到,回源器108可以仅根据所请求文件的URL中的数据源节点编号查询相关的数据源节点地址,也可以仅根据所请求文件的内容摘要查询相关的数据源节点地址,因此对应的,回源表中也可以仅记录数据源节点编号和数据源节点地址之间的关联关系,或者仅记录文件的内容摘要和数据源节点地址之间的关联关系。当然,还可以优先使用数据源节点编号查询相关数据源节点地址,如果查找不到合适的,比如同一运营商网络的,再继续通过文件的内容摘要继续查询是否还有其他同一运营商网络的存储该文件的数据源节点,这种情况下对应的,回源表中就需要同时记录数据源节点编号、文件的内容摘要以及数据源节点地址之间的对应关系。The content in the source-returning table maintained by the source-returning device 108 may be generated according to information obtained from each data source node. For example, whenever a file is uploaded to a data source node, a storage record will be updated to the back-to-source table, which records the content summary of the file and/or the number of the data source node storing the file, and the corresponding The address information of each file and the data source node storing the file can be recorded in the back-to-source table. The back-to-source table is not limited to be stored in the edge node 100, and can also be stored in other specialized management devices, as long as the data source node can communicate with the edge node 100 or the special management device, so that the information in the back-to-source table can be based on The data source node updates the stored file, and the source return device 108 in the edge node 100 can obtain the information in the source return table in time. As mentioned above, the source return device 108 can only query the relevant data source node address according to the data source node number in the URL of the requested file, or can only query the relevant data source node address according to the content abstract of the requested file, so the corresponding Yes, the back-to-source table can also only record the association relationship between the data source node number and the data source node address, or only record the association relationship between the content abstract of the file and the data source node address. Of course, you can also use the data source node number first to query the address of the relevant data source node. If you can’t find a suitable one, such as the same operator’s network, continue to check whether there are other storages of the same operator’s network through the content summary of the file. The data source node of the file, in this case, corresponds to the corresponding relationship between the data source node number, the content summary of the file, and the data source node address in the back-to-source table.

回源器108可以包括数据源查询模块、直接回源模块、代理回源模块以及缓存通知模块。具体而言,如果数据源查询模块根据已知的回源表和文件下载请求的下载地址,具体是根据回源表和根据下载地址得到的数据源节点编号或者是文件的内容摘要,查找到存储该文件的数据源节点与边缘节点100是同一运营商网络的,比如是第一运营商网络的数据源节点500,则直接回源模块将文件下载请求转发给查找到的数据源节点500,从该数据源节点500获取所需文件。由于边缘节点100和数据源节点500都是第一运营商网络的节点,因此他们之间直接进行通信速度很快,无需通过代理集群,所以可以直接连接下载。同时,缓存通知模块通知缓存器102对通过直接回源模块获取到的所请求的文件进行缓存。The origin-returning device 108 may include a data source query module, a direct-return-to-source module, a proxy-return-to-source module, and a cache notification module. Specifically, if the data source query module finds the storage file according to the known back-to-source table and the download address of the file download request, specifically according to the back-to-source table and the data source node number or the content summary of the file obtained from the download address The data source node of the file and the edge node 100 are in the same operator network, such as the data source node 500 of the first operator network, then the direct back-to-source module forwards the file download request to the found data source node 500, from The data source node 500 obtains the required files. Since both the edge node 100 and the data source node 500 are nodes of the first operator's network, the speed of direct communication between them is very fast without going through the proxy cluster, so they can be directly connected and downloaded. At the same time, the cache notification module notifies the cache 102 to cache the requested file obtained through the direct back-to-source module.

如果第一运营商网络的边缘节点100中的数据源查询模块,在回源表中查找不到与边缘节点100属于同一运营商网络的数据源节点存储有所请求的文件,只找到第二运营商网络的数据源节点600存储了所请求文件,那么代理回源模块通过第一运营商网络至第二运营商网络的代理集群300从第二运营商网络相关的数据源节点600获取所请求的文件。同时,缓存通知模块通知缓存器102对通过代理回源模块获取的所请求的文件进行缓存。If the data source query module in the edge node 100 of the first operator network cannot find the requested file stored in the data source node belonging to the same operator network as the edge node 100 in the back-to-source table, only the second operator network can be found. If the data source node 600 of the provider network has stored the requested file, then the proxy back-to-source module obtains the requested file from the data source node 600 related to the second carrier network through the proxy cluster 300 from the first carrier network to the second carrier network. document. At the same time, the cache notification module notifies the cache 102 to cache the requested file acquired through the proxy back-to-source module.

为了更好的描述代理回源模块如何通过第一运营商网络至第二运营商网络的代理集群300从第二运营商网络的数据源节点600获取所请求的文件,下面先介绍下代理集群300的具体结构。代理集群300包括边缘侧第一运营商网络代理集群302、源节点侧第二运营商网络代理集群306,以及第一传输通道304。例如,图4所示的根据本发明一个实施例的电信至网通的代理集群示意图。该代理集群包括电信代理集群、网通代理集群,以及两个代理集群之间的光纤传输通道。其中电信代理集群412相当于边缘侧第一运营商网络代理集群302,网通代理集群416相当于源节点侧第二运营商网络代理集群306。电信代理集群412通过电信出口与电信下载节点(即电信边缘节点)进行通信,网络代理集群416通过网通出口与网通数据源节点进行通信。In order to better describe how the agent back-to-source module obtains the requested file from the data source node 600 of the second operator network through the agent cluster 300 from the first operator network to the second operator network, the agent cluster 300 is first introduced below specific structure. The proxy cluster 300 includes a first carrier network proxy cluster 302 at the edge side, a second carrier network proxy cluster 306 at the source node side, and a first transmission channel 304 . For example, FIG. 4 is a schematic diagram of a Telecom to Netcom agent cluster according to an embodiment of the present invention. The proxy cluster includes a telecom proxy cluster, a Netcom proxy cluster, and an optical fiber transmission channel between the two proxy clusters. The telecom proxy cluster 412 is equivalent to the first carrier network proxy cluster 302 at the edge side, and the Netcom proxy cluster 416 is equivalent to the second carrier network proxy cluster 306 at the source node side. The telecom proxy cluster 412 communicates with the telecom download node (ie, the telecom edge node) through the telecom outlet, and the network proxy cluster 416 communicates with the Netcom data source node through the Netcom egress.

首先,第一运营商网络的缘边节点100的回源器108根据客户端设备700的文件下载请求以及查找到的数据源节点600的地址,向代理集群300中的边缘侧第一运营商网络代理集群302发送请求从数据源节点600下载文件的请求,然后该边缘侧第一运营商网络代理集群302通过第一传输通道304,一般都是光纤,将文件下载请求传输至源节点侧第二运营商网络代理集群306。进而,源节点侧第二运营商网络代理集群306再向相关的第二运营商网络的数据源节点600发送文件下载请求,从该数据源节点600获得所请求的文件。源节点侧第二运营商网络代理集群306从数据源节点600获得了所请求的文件后,再将所请求的文件通过第一传输通道304传输至边缘侧第一运营商网络代理集群302,进而再由边缘侧第一运营商网络代理集群302将该文件传输给边缘节点100的代理回源模块,最终边缘节点100的代理回源模块108将该文件返回至客户端设备100。至此,第一运营商网络的客户端设备700通过第一运营商网络的边缘节点100、第一运营商网络至第二运营商网络的代理集群300从第二运营商网络的数据源节点成功下载了所请求的文件。First, the origin return device 108 of the edge node 100 of the first operator network sends a request to the edge side first operator network in the proxy cluster 300 according to the file download request of the client device 700 and the found address of the data source node 600. The proxy cluster 302 sends a request to download a file from the data source node 600, and then the first carrier network proxy cluster 302 on the edge side transmits the file download request to the second source node side through the first transmission channel 304, which is generally an optical fiber. Carrier network proxy cluster 306 . Furthermore, the proxy cluster 306 of the second operator network on the source node side sends a file download request to the relevant data source node 600 of the second operator network, and obtains the requested file from the data source node 600 . After obtaining the requested file from the data source node 600, the second carrier network proxy cluster 306 on the source node side transmits the requested file to the first carrier network proxy cluster 302 on the edge side through the first transmission channel 304, and then Then, the agent cluster 302 of the first operator network at the edge side transmits the file to the proxy back-to-source module of the edge node 100 , and finally the proxy back-to-source module 108 of the edge node 100 returns the file to the client device 100 . So far, the client device 700 of the first operator network successfully downloads the the requested file.

第二运营商网络至第一运营商网络的代理集群400的结构与第一运营商网络至第二运营商网络的代理集群结构雷同,故不再赘述,仅简单介绍。代理集群400包括边缘侧第二运营商网络代理集群402,接收来自第二运营商网络的边缘节点200的文件下载请求,以及向第二运营商网络的边缘节点200返回所请求的文件。第二传输通道404从边缘侧第二运营商网络代理集群402向源节点侧第一运营商网络代理集群406传输信息,以及从源节点侧第一运营商网络代理集群406向边缘侧第二运营商网络代理集群402传输信息;源节点侧第一运营商网络代理集群406根据通过第二传输通道404接收的来自边缘侧第二运营商网络代理集群402的文件下载请求,向第一运营商网络相关的数据源节点500发送文件下载请求,以及接收第一运营商网络相关的数据源节点500返回的所请求的文件,并通过第二传输通道404传输至边缘侧第二运营商网络代理集群200。The structure of the proxy cluster 400 from the second operator network to the first operator network is the same as the structure of the proxy cluster from the first operator network to the second operator network, so it will not be described in detail, but simply introduced. The agent cluster 400 includes an edge-side second operator network agent cluster 402, which receives a file download request from the edge node 200 of the second operator network, and returns the requested file to the edge node 200 of the second operator network. The second transmission channel 404 transmits information from the second carrier network proxy cluster 402 at the edge side to the first carrier network proxy cluster 406 at the source node side, and transmits information from the first carrier network proxy cluster 406 at the source node side to the second operator network proxy cluster at the edge side The provider network proxy cluster 402 transmits information; the source node side first carrier network proxy cluster 406 sends the file download request to the first carrier network according to the file download request received from the edge side second carrier network proxy cluster 402 through the second transmission channel 404 The relevant data source node 500 sends a file download request, and receives the requested file returned by the relevant data source node 500 of the first operator network, and transmits it to the edge-side second operator network proxy cluster 200 through the second transmission channel 404 .

通过上面的描述可知,第一运营商网络的边缘节点100中的回源器108可以从数据源节点(如第一运营商网络的数据源节点500或第二运营商网络的数据源节点600)获取到客户端设备700所需的文件,并传输给客户端设备700。在本发明的一个实施例中,回源器108可以逐个部分地从数据源节点获取所请求的文件的各部分,并同时向客户端设备700传输该文件中所获取的部分,直到完全获取了该文件为止。具体而言,当数据源节点向边缘节点100中的回源器108返回文件标头header信息后,边缘节点100随即将该header信息返回给客户端设备700,客户端设备100获得header信息后便知道了所请求下载的文件的大小,然后会保持与边缘节点100的链接,等待并接受边缘节点返回的数据,直到下载整个文件为止。边缘节点100在连接到数据源节点后,会持续从数据源节点获得文件的内容数据,同时持续将获得内容数据直接发送给客户端设备700,直到该文件传输完毕为止。边缘节点100在从数据源节点获得整个文件之后,会将header信息和文件内容放入缓存中。From the above description, it can be seen that the origin return device 108 in the edge node 100 of the first operator network can receive data from the data source node (such as the data source node 500 of the first operator network or the data source node 600 of the second operator network) The files required by the client device 700 are obtained and transmitted to the client device 700 . In one embodiment of the present invention, the source return device 108 can obtain each part of the requested file from the data source node one by one, and transmit the obtained part of the file to the client device 700 at the same time until the file is completely obtained this document. Specifically, after the data source node returns the header information of the file header to the source returner 108 in the edge node 100, the edge node 100 immediately returns the header information to the client device 700, and the client device 100 obtains the header information and then Knowing the size of the file to be downloaded, it will keep the link with the edge node 100, wait for and accept the data returned by the edge node, until the entire file is downloaded. After the edge node 100 is connected to the data source node, it will continue to obtain the content data of the file from the data source node, and at the same time, continue to directly send the obtained content data to the client device 700 until the transmission of the file is completed. After the edge node 100 obtains the entire file from the data source node, it will put the header information and file content into the cache.

由此可以看出,边缘节点100可以一边从数据源节点获得所请求的文件,一边向客户端设备700传输已经获取到的该文件的部分内容,而不需要等边缘节点100完全从数据源节点下载到整个文件内容之后,再开始向客户端设备700传输该文件。此种情况下,边缘节点100中的回源器108可以看做是一个非阻塞回源器。It can be seen from this that the edge node 100 can obtain the requested file from the data source node, and at the same time transmit the obtained partial content of the file to the client device 700, without waiting for the edge node 100 to completely obtain the requested file from the data source node. After downloading the entire file content, start to transmit the file to the client device 700 again. In this case, the source return device 108 in the edge node 100 can be regarded as a non-blocking source return device.

在本发明的一个实施例中,下载管理设备110可以通过varniash缓存服务器予以实现,或者说边缘节点的全部或部分通过varniash缓存服务器实现。通过varniash缓存服务器可以实现在从数据源节点下载文件的过程中,同步向客户端设备传输文件,即具有非阻塞回源器。具体请参阅图5,其示出了根据本发明一个实施例的数据下载系统示意图,其中,电信下载节点512是图1中第一运营商网络的边缘节点100的一个具体实例,电信下载节点512包括多个varniash节点;网通下载节点514是图1中第二运营商网络的边缘节点200的一个具体实例,网通下载节点514也包括多个varniash;电信—>网通代理集群516是图1中第一运营商网络至第二运营商网络的代理集群300的一个具体实例,其可以包括代理集群1、代理集群2等多个代理集群,彼此可以互为备份;网通—>电信代理集群518是图1中第二运营商网络至第一运营商网络的代理集群400的一个具体实例,其也包括代理集群1、代理集群2等多个代理集群,可以互为备份;电信数据源520是图1中第一运营商网络的数据源节点500的一个具体实例,其可以包括多个数据源节点;网络数据源522是图1中第二运营商网络的数据源节点600一个具体实例,其可以包括多个数据源节点。每个varniash节点都对应的一组代理集群,因此利用Varnish节点自身的failover(失效备份)机制,可以在某个代理集群故障时,自动切换到其他的代理集群,从而降低了服务不可用的风险。In an embodiment of the present invention, the download management device 110 may be implemented by a varniash cache server, or all or part of the edge nodes may be implemented by a varniash cache server. Through the varniash cache server, it is possible to transfer files to the client device synchronously during the process of downloading files from the data source node, that is, to have a non-blocking source return device. Please refer to FIG. 5 for details, which shows a schematic diagram of a data download system according to an embodiment of the present invention, wherein the telecommunications download node 512 is a specific example of the edge node 100 of the first operator network in FIG. 1, and the telecommunications download node 512 Comprise a plurality of varniash nodes; Netcom download node 514 is a specific example of the edge node 200 of the second operator network in Fig. A specific example of the agent cluster 300 from the operator's network to the second operator's network, which can include multiple agent clusters such as agent cluster 1 and agent cluster 2, which can be mutual backups; Netcom—>telecom agent cluster 518 is a diagram A specific example of the proxy cluster 400 from the second operator network to the first operator network in 1, which also includes multiple proxy clusters such as proxy cluster 1 and proxy cluster 2, which can serve as mutual backups; the telecom data source 520 is shown in Figure 1 A specific example of the data source node 500 of the first operator network in the network, which may include multiple data source nodes; the network data source 522 is a specific example of the data source node 600 of the second operator network in Figure 1, which may include Multiple data source nodes. Each varniash node corresponds to a group of proxy clusters, so by using the failover (failure backup) mechanism of the Varnish node itself, it can automatically switch to other proxy clusters when a certain proxy cluster fails, thereby reducing the risk of service unavailability .

请参阅图6,其示出了根据本发明一个实施例的用于提供文件下载地址的管理方法流程图。Please refer to FIG. 6 , which shows a flowchart of a management method for providing a file download address according to an embodiment of the present invention.

该管理方法始于步骤S610,在步骤S610中,首先根据文件在数据源节点中的存储路径生成该文件的资源定位信息。当某个文件上传到某个数据源节点之后,数据源节点或者其他与数据源节点能够相互通信的管理设备,就可以获得该文件在这个数据源节点上的存储路径,进而根据该存储路径可以生成文件的资源定位信息,即相当于生成该文件URL中的路径和文件名这部分内容。该步骤可以通过图2中的资源定位器212执行,相关技术可以参考前述各实施例中有关资源定位器212的描述,此处不再赘述。The management method begins with step S610. In step S610, resource location information of the file is first generated according to the storage path of the file in the data source node. When a file is uploaded to a data source node, the data source node or other management devices that can communicate with the data source node can obtain the storage path of the file on the data source node, and then according to the storage path can be The resource location information of the generated file is equivalent to generating the content of the path and file name in the URL of the file. This step can be performed by the resource locator 212 in FIG. 2 . For related technologies, reference can be made to the description of the resource locator 212 in the foregoing embodiments, which will not be repeated here.

一方面通过步骤S610生成文件的资源定位信息,另一方面,在步骤S620中,对该文件的内容采用特定数据转换生成文件的内容摘要。文件的内容摘要本质上是文件内容的标识信息,文件内容摘要与文件数据一一对应,不同内容的文件,内容摘要也不同。该步骤可以通过图2中的摘要生成器214实现,相关技术可以参考前述各实施例中有关摘要生成器214的描述,此处不再赘述。On the one hand, the resource location information of the file is generated through step S610; on the other hand, in step S620, the content of the file is converted using specific data to generate a content summary of the file. The content abstract of a file is essentially the identification information of the file content, and the content abstract of the file corresponds to the file data one by one, and the content abstract is different for files with different contents. This step can be implemented by the digest generator 214 in FIG. 2 , and related technologies can refer to the descriptions of the digest generator 214 in the above-mentioned embodiments, which will not be repeated here.

应当注意的是,步骤S610和步骤S620之间的顺序是可以调整的,例如步骤S610可以在步骤S620之前、之后或者与步骤S620同时执行。It should be noted that the order between step S610 and step S620 can be adjusted, for example, step S610 can be performed before, after or simultaneously with step S620.

在通过步骤S610获得文件的资源定位信息,以及通过步骤S620获得文件的内容摘要之后,在步骤S630中,至少根据文件的资源定位信息和文件的内容摘要,生成文件的下载地址,如URL,该下载地址中至少包括文件的资源定位信息和文件的内容摘要。至此,文件的下载地址就生成了,此后,可以提供给需要下载该文件的客户端设备进行使用。例如,客户端设备在网站上点击某个文件或文件列表需要下载该文件时,即可获得该文件的URL,进而,后续客户端设备可以根据该下载地址向边缘节点发送文件下载请求,从而使边缘节点获得该文件的URL,该URL中不仅包括文件的存储路径等资源定位信息,还包括文件的内容摘要。该步骤可以通过图2中的下载地址生成器216实现,相关技术可以参考前述各实施例中有关下载地址生成器216的描述,此处不再赘述。After obtaining the resource location information of the file in step S610 and the content summary of the file in step S620, in step S630, at least according to the resource location information of the file and the content summary of the file, a download address of the file, such as a URL, is generated. The download address at least includes the resource location information of the file and the content summary of the file. So far, the download address of the file is generated, and thereafter, it can be provided to the client device that needs to download the file for use. For example, when the client device clicks on a file or file list on the website and needs to download the file, it can obtain the URL of the file, and then the subsequent client device can send a file download request to the edge node according to the download address, so that The edge node obtains the URL of the file, and the URL not only includes resource location information such as a storage path of the file, but also includes a content summary of the file. This step can be implemented by the download address generator 216 in FIG. 2 . For related technologies, reference can be made to the descriptions of the download address generator 216 in the foregoing embodiments, which will not be repeated here.

接着请参看图7,其示出了根据本发明一个实施例的用于数据下载系统中的下载管理方法流程图。该数据下载系统可以包括前面各实施例描述的边缘节点和数据源节点,进一步还可以包括前面各实施例描述的代理集群。Next please refer to FIG. 7 , which shows a flowchart of a download management method used in a data download system according to an embodiment of the present invention. The data downloading system may include the edge node and the data source node described in the foregoing embodiments, and may further include the proxy cluster described in the foregoing embodiments.

该下载管理方法始于步骤S710,在步骤S710中,边缘节点获得来自客户端设备的文件下载请求,并根据该文件下载请求的下载地址解析出所请求的文件的内容摘要。在前面图6给出的实施例流程中已经介绍过,客户端设备可以获得需要下载的文件的URL,而且该URL中还包含文件的内容摘要,因此客户端设备向边缘节点发送下载请求时,下载请求中的下载地址URL中会包含所请求文件的内容摘要。The download management method begins with step S710. In step S710, the edge node obtains the file download request from the client device, and parses out the content summary of the requested file according to the download address of the file download request. As mentioned above in the flow of the embodiment shown in Figure 6, the client device can obtain the URL of the file to be downloaded, and the URL also contains the content summary of the file, so when the client device sends a download request to the edge node, The download address URL in the download request will contain a summary of the content of the requested file.

在边缘节点通过步骤S710获得客户端设备的下载请求,并且根据下载请求解析出所请求文件的内容摘要之后,在步骤S720中,边缘节点根据所请求的文件的内容摘要在缓存中查找是否存在所请求的文件。如果是,则进入步骤S730:从缓存中获取所请求的文件传输至客户端设备。如果否,即在缓存中不没有所需的文件,则进入步骤S740:边缘节点从所请求的文件相关的数据源节点获取所请求的文件,并传输至客户端设备。After the edge node obtains the download request of the client device through step S710, and parses out the content summary of the requested file according to the download request, in step S720, the edge node checks whether the requested file exists in the cache according to the content summary of the requested file. document. If yes, go to step S730: obtain the requested file from the cache and transmit it to the client device. If not, that is, there is no required file in the cache, go to step S740: the edge node obtains the requested file from the data source node related to the requested file, and transmits it to the client device.

在一个实施例的步骤S740中,边缘节点可以逐个部分地从数据源节点获取所请求的文件的各部分,并同时向客户端设备传输所请求的文件中所获取的部分,直到完全获取了所请求的文件为止。通过这种无阻塞的回源方式,可以使边缘节点不必等从数据源节点获得整个文件之后再传输给客户端设备,可以在从数据源节点获得所请求的文件的过程中,同时向客户端设备传输,从而进一步提高了文件的下载速度。In step S740 of one embodiment, the edge node may obtain each part of the requested file from the data source node part by part, and transmit the obtained part of the requested file to the client device at the same time, until all parts of the requested file are completely obtained. requested documents. Through this non-blocking back-to-source method, the edge node does not have to wait to obtain the entire file from the data source node before transferring it to the client device. Device Transfer, which further increases file download speeds.

在一个实施例的步骤S740中,为了进一步提高下载效率,如果边缘节点和数据源节点不是同一运营商网络的节点,那么边缘节点还可以通过代理集群从数据源节点获得所请求的文件,例如,数据下载系统还包括第一运营商网络至第二运营商网络的代理集群。步骤S740具体包括:首先边缘节点根据已知的回源表以及所请求的文件的下载地址查询所请求的文件相关的数据源节点;当边缘节点为第一运营商网络的边缘节点,并且查询到所请求的文件相关的数据源节点包括该第一运营商网络的数据源节点时,直接从该第一运营商网络的数据源节点获取所请求的文件;当边缘节点为第一运营商网络的边缘节点,并且查询到所请求的文件相关的数据源节点是第二运营商网络的数据源节点时,则通过第一运营商网络至第二运营商网络的代理集群从第二运营商网络相关的数据源节点获取所请求的文件。In step S740 of one embodiment, in order to further improve the download efficiency, if the edge node and the data source node are not nodes of the same operator network, then the edge node can also obtain the requested file from the data source node through the proxy cluster, for example, The data downloading system further includes proxy clusters from the first operator network to the second operator network. Step S740 specifically includes: first, the edge node queries the data source node related to the requested file according to the known back-to-source table and the download address of the requested file; When the data source node related to the requested file includes the data source node of the first operator network, directly obtain the requested file from the data source node of the first operator network; when the edge node is a data source node of the first operator network edge node, and it is found that the data source node related to the requested file is the data source node of the second operator network, then the proxy cluster from the first operator network to the second operator network is related to the second operator network The datasource node fetches the requested file.

对于边缘节点直接从同一运营商网络的数据源节点获取所请求的文件过程比较简单,不再详述,下面主要介绍下通过代理集群从非同一运营商网络的数据源节点获取所请求文件的过程。具体而言,第一运营商网络至第二运营商网络的代理集群包括边缘侧第一运营商网络代理集群、传输通道和源节点侧第二运营商网络代理集群,首先,边缘侧第一运营商网络代理集群接收来自第一运营商网络的边缘节点的文件下载请求,并通过传输通道传输至源节点侧第二运营商网络代理集群;源节点侧第二运营商网络代理集群在接收到文件下载请求后,据此向第二运营商网络相关的数据源节点发送文件下载请求,并接收该第二运营商网络相关的数据源节点返回的所请求的文件,以及将该文件通过传输通道传输至边缘侧第一运营商网络代理集群;进而,该边缘侧第一运营商网络代理集群再将该文件传输至第一运营商网络的边缘节点。For the edge node to obtain the requested file directly from the data source node of the same operator network, the process is relatively simple, and will not be described in detail. The following mainly introduces the process of obtaining the requested file from the data source node of the non-same operator network through the proxy cluster. . Specifically, the proxy clusters from the first operator network to the second operator network include the proxy cluster of the first operator network on the edge side, the transmission channel, and the proxy cluster of the second operator network on the source node side. First, the first operator network on the edge side The provider network proxy cluster receives the file download request from the edge node of the first carrier network, and transmits it to the source node side second carrier network proxy cluster through the transmission channel; the source node side second carrier network proxy cluster receives the file After the download request, send a file download request to the data source node related to the second operator network accordingly, and receive the requested file returned by the data source node related to the second operator network, and transmit the file through the transmission channel to the proxy cluster of the first operator network on the edge side; furthermore, the proxy cluster of the first operator network on the edge side transmits the file to the edge node of the first operator network.

当边缘节点通过步骤S740获得客户端所请求文件的同时或者之后,在步骤S750中,将该文件的内容摘要以及从数据源节点获得的该文件内容进行缓存,以便后续再有下载该文件的下载请求时,边缘节点不需要再去数据源节点获取文件,直接通过步骤S730从自己的缓存中将该文件传输给客户端设备即可。通过步骤S750的不断积累,边缘节点缓存中的文件越来越多,在很大程度上能够为客户端设备直接提供所请求的文件,而无需再去数据源节点进行下载,由此提高的文件的下载效率,也减少了与数据源节点之间的通信次数,并减轻了数据源节点的负载负担。When the edge node obtains the file requested by the client through step S740 or after, in step S750, the content abstract of the file and the file content obtained from the data source node are cached, so that there is a subsequent download of the file When requesting, the edge node does not need to go to the data source node to obtain the file, and can directly transfer the file from its own cache to the client device through step S730. Through the continuous accumulation of step S750, more and more files are stored in the edge node cache, and the requested files can be directly provided to the client device to a large extent without going to the data source node for downloading, thereby improving the file size. It also reduces the number of communications with the data source node and reduces the load on the data source node.

在上述数据处理过程中,步骤S710可以通过图1中的解析器104执行,步骤S720和S730可以通过图1中的查找器106执行,步骤S740可以通过图1中的回源器108执行,步骤S750可以通过图1中的缓存器102执行,而且以上边缘节点执行的各步骤可以通过varniash缓存服务器执行。相关技术实现可以参考前述各实施例中对应部件的描述,此处不再赘述。In the above-mentioned data processing process, step S710 can be executed by the parser 104 in FIG. 1, steps S720 and S730 can be executed by the finder 106 in FIG. 1, and step S740 can be executed by the source return device 108 in FIG. S750 can be executed by the cache 102 in FIG. 1 , and the above steps executed by the edge node can be executed by the varniash cache server. For implementation of related technologies, reference may be made to the descriptions of corresponding components in the foregoing embodiments, and details are not repeated here.

通过以上本发明的各实施例可以看出,边缘节点根据从所请求文件下载地址解析出的文件内容摘要作为索引关键词,在缓存中查询是否已经存储了所请求的文件,而不是根据文件的整个URL作为索引查询,同理,在缓存中存储文件时也是根据文件的内容摘要是否相同判断是否为同一份文件,即文件的内容摘要是文件内容数据的标识,只要文件的内容摘要不同文件数据本身就不同,反之,只要文件的内容摘要相同就说明文件数据本身就是同一个。因此,如果两个文件的URL不同,但文件的内容数据实质相同,那么该文件的内容摘要就是相同的,进而,如果该文件此前已经在边缘节点中缓存过了,那么后续即便是客户端设备再发来一个不同的文件下载地址URL,只要URL中该文件的内容摘要和缓存中的一致,那么边缘节点也不会再去数据源节点重复下载该文件并缓存,而是直接根据该文件的内容摘要从缓存中找到该文件提供给客户端设备。由此可以看出,一方面减少了缓存中的重复数据,另一方面也提高了为客户端设备下载文件的效率,同时减少了边缘节点到数据源节点的通信次数,进而减少了数据源节点的负载以及代理集群的带宽消耗。It can be seen from the above embodiments of the present invention that the edge node queries whether the requested file has been stored in the cache according to the file content summary parsed from the requested file download address as an index keyword, rather than according to the file content. The entire URL is used as an index query. Similarly, when storing files in the cache, it is also judged whether they are the same file according to whether the content abstract of the file is the same, that is, the content abstract of the file is the identification of the file content data, as long as the content abstract of the file is different. are different in themselves, on the contrary, as long as the content abstract of the file is the same, it means that the file data itself is the same. Therefore, if the URLs of two files are different, but the content data of the files are substantially the same, then the content abstracts of the files are the same. Furthermore, if the files have been cached in the edge node before, then even if the client device Then send a different file download address URL, as long as the content summary of the file in the URL is consistent with the one in the cache, then the edge node will not go to the data source node to repeatedly download the file and cache it, but directly based on the content of the file The content digest finds the file from the cache and serves it to the client device. It can be seen that, on the one hand, it reduces the duplicate data in the cache, on the other hand, it also improves the efficiency of downloading files for client devices, and at the same time reduces the number of communications between edge nodes and data source nodes, thereby reducing the number of data source nodes. load and bandwidth consumption of the proxy cluster.

进一步,有些情况下,文件URL没有发生变化,但实质文件的内容数据已经发生了更新。如果采用现有技术中只根据不携带文件内容摘要信息的URL作为查询缓存文件的索引关键词,那么很可能将实质内容数据已经发生变化、URL没变的文件发送给客户端设备,进而导致客户端设备下载不到最新、最正确的文件。而采用本发明实施例的方案,由于是根据文件URL中的文件内容摘要判断缓存中是否存在该文件,如果URL没变、实质数据内容变化的话,那么在通过文件内容摘要查询缓存时,已经找不到对应的文件了,于是就会自动从数据源节点获取最新的文件提供给客户端设备,即缓存中的文件及时得到了更新。换而言之,本发明实施例中缓存的更新是由边缘节点主动发起的,而不是像现有CDN网络中由数据源节点发起的,因此避免了使用现有CDN数据缓存更新效率低的问题。Furthermore, in some cases, the URL of the file has not changed, but the content data of the actual file has been updated. If the existing technology is only based on the URL that does not carry the summary information of the file content as the index keyword for querying the cached file, it is likely that the file whose content data has changed but the URL has not changed is sent to the client device, causing the client to The end device cannot download the latest and most correct file. And adopt the scheme of the embodiment of the present invention, owing to judge whether there is this file in the cache according to the summary of the file content in the file URL, if URL does not change, if the substantial data content changes, then when querying the cache by the summary of the file content, already found If the corresponding file is no longer available, the latest file will be automatically obtained from the data source node and provided to the client device, that is, the file in the cache will be updated in time. In other words, the update of the cache in the embodiment of the present invention is actively initiated by the edge node, rather than initiated by the data source node in the existing CDN network, thus avoiding the problem of low efficiency of using the existing CDN data cache update .

再进一步,边缘节点通过代理集群从数据源节点获取文件,当文件较大时,可以利用边缘节点服务器(如Varnish)的Stream非阻塞模式,可以实现边缓存边让客户端设备下载。避免了使用CDN时,需要等到整个文件完全缓存才能下载的问题,整个过程客户端设备不用等待。Furthermore, the edge node obtains the file from the data source node through the proxy cluster. When the file is large, the Stream non-blocking mode of the edge node server (such as Varnish) can be used to allow the client device to download while caching. It avoids the problem of waiting for the entire file to be fully cached before downloading when using a CDN, and the client device does not have to wait for the entire process.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的下载管理设备、管理设备以及数据下载系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the download management device, the management device, and the data download system according to the embodiments of the present invention. Or full functionality. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

可见,本发明至少提供如下方案:It can be seen that the present invention at least provides the following solutions:

A1、一种用于边缘节点中的下载管理设备,包括:A1. A download management device used in an edge node, comprising:

缓存器,被配置为缓存从数据源节点获得的各个文件以及各个文件的内容摘要,所述文件的内容摘要是对所述文件的内容采用特定数据转换生成的数据;A cache configured to cache each file obtained from the data source node and the content summary of each file, where the content summary of the file is data generated by applying specific data conversion to the content of the file;

解析器,被配置为获得来自客户端设备的文件下载请求,并根据所述文件下载请求的下载地址解析出所请求的文件的内容摘要;A parser configured to obtain a file download request from a client device, and parse out a content abstract of the requested file according to a download address of the file download request;

查找器,被配置为根据所述解析器解析出的所述所请求的文件的内容摘要在所述缓存器中查找所请求的文件,如果查找到,则将所请求的文件传输至客户端设备;以及A finder configured to search the cache for the requested file according to the content summary of the requested file parsed by the parser, and if found, transmit the requested file to the client device ;as well as

回源器,被配置为当所述查找器在所述缓存器中没有查找到所请求的文件时,从所请求的文件相关的数据源节点获取所请求的文件,并传输至所述客户端设备,以及将所请求的文件提供给所述缓存器进行缓存。A source returner configured to obtain the requested file from a data source node related to the requested file when the finder does not find the requested file in the cache, and transmit it to the client device, and provide the requested file to the cache for caching.

A2、如A1所述的下载管理设备,所述回源器适于逐个部分地从所述数据源节点获取所请求的文件的各部分,并同时向所述客户端设备传输所请求的文件中所获取的部分,直到完全获取了所请求的文件为止。A2. The download management device as described in A1, the source return device is adapted to obtain each part of the requested file from the data source node one by one, and transmit the requested file to the client device at the same time Fetched portions until the requested file is completely fetched.

A3、如A1或A2所述的下载管理设备,所述回源器包括:A3. The download management device as described in A1 or A2, the source returning device includes:

数据源查询模块,被配置为根据已知的回源表和所请求的文件的下载地址查询所述所请求的文件相关的数据源节点;The data source query module is configured to query the data source node related to the requested file according to the known back-to-source table and the download address of the requested file;

直接回源模块,被配置为当所述边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点包括所述第一运营商网络的数据源节点时,直接从所述第一运营商网络的数据源节点获取所请求的文件;The direct back-to-source module is configured so that when the edge node is an edge node of the first operator network, and the data source nodes related to the requested file include the data source nodes of the first operator network , directly obtaining the requested file from the data source node of the first operator network;

代理回源模块,被配置为当所述边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点是第二运营商网络的数据源节点时,通过所述第一运营商网络至第二运营商网络的代理集群从所述第二运营商网络相关的数据源节点获取所请求的文件;以及The proxy back-to-source module is configured to: when the edge node is an edge node of the first operator network, and the data source node related to the requested file is a data source node of the second operator network, through obtaining the requested file from a data source node associated with the second operator network; and

缓存通知模块,被配置为将通过所述直接回源模块或代理回源模块获取到所请求的文件之后,通知所述缓存器对所请求的文件进行缓存。The cache notification module is configured to notify the cache to cache the requested file after the requested file is acquired through the direct back-to-source module or proxy back-to-source module.

A4、如A1至A3中任一项所述的下载管理设备,所述文件的内容摘要包括:安全哈希演算sha系列数据中的一种,或,信息摘要演算MD系列数据中的一种。A4. The download management device described in any one of A1 to A3, wherein the content summary of the file includes: one of the secure hash calculation sha series data, or one of the information summary calculation MD series data.

A5、如权利要求A1至A4中任一项所述的下载管理设备,所述下载管理设备是varniash缓存服务器。A5. The download management device according to any one of claims A1 to A4, wherein the download management device is a varniash cache server.

B6、一种数据下载系统,包括边缘节点、为不同运营商网络之间提供信息交互服务的代理集群,以及数据源节点,其中所述边缘节点包括如权利要求1至5中任一项所述下载管理设备。B6. A data download system, comprising an edge node, a proxy cluster providing information interaction services between different operator networks, and a data source node, wherein the edge node includes any one of claims 1 to 5 Download and manage devices.

B7、根据B6所述的系统,还包括:用于提供文件下载地址的管理设备,所述边缘节点接收到的文件下载请求的下载地址由所述用于提供文件下载地址的管理设备所提供;其中,B7. The system according to B6, further comprising: a management device for providing a file download address, the download address of the file download request received by the edge node is provided by the management device for providing a file download address; in,

所述用于提供文件下载地址的管理设备包括:The management device for providing a file download address includes:

资源定位器,被配置为根据文件在数据源节点中的存储路径生成所述文件的资源定位信息;The resource locator is configured to generate the resource location information of the file according to the storage path of the file in the data source node;

摘要生成器,被配置为对所述文件的内容采用特定数据转换生成所述文件的内容摘要;以及a digest generator configured to apply specific data transformations to the content of the file to generate a content digest of the file; and

下载地址生成器,被配置为至少根据所述资源定位器提供的所述文件的资源定位信息和所述摘要生成器提供的所述文件的内容摘要,生成所述文件的下载地址,所述下载地址中至少包括所述文件的资源定位信息和所述文件的内容摘要。A download address generator configured to generate the download address of the file at least according to the resource location information of the file provided by the resource locator and the content summary of the file provided by the summary generator, the download The address includes at least the resource location information of the file and the content summary of the file.

B8、根据B7所述的系统,所述下载地址生成器生成的所述文件的下载地址是所述文件的统一资源定位符URL。B8. According to the system described in B7, the download address of the file generated by the download address generator is the Uniform Resource Locator URL of the file.

B9、根据B6至B8中任一项所述的系统,所述为不同运营商网络之间提供信息交互服务的代理集群包括第一运营商网络至第二运营商网络的代理集群,以及第二运营商网络至第一运营商网络的代理集群,其中,B9. According to the system described in any one of B6 to B8, the agent clusters that provide information interaction services between different operator networks include agent clusters from the first operator network to the second operator network, and the second A proxy cluster from the operator network to the first operator network, wherein,

所述第一运营商网络至第二运营商网络的代理集群包括:The proxy clusters from the first operator network to the second operator network include:

边缘侧第一运营商网络代理集群,被配置为接收来自第一运营商网络的边缘节点的文件下载请求,以及向所述第一运营商网络的边缘节点返回所请求的文件;The first operator network proxy cluster on the edge side is configured to receive a file download request from an edge node of the first operator network, and return the requested file to the edge node of the first operator network;

传输通道,被配置为从所述边缘侧第一运营商网络代理集群向所述源侧第二运营商网络代理集群传输信息,以及从所述源节点侧第二运营商网络代理集群向所述边缘侧第一运营商网络代理集群传输信息;以及The transmission channel is configured to transmit information from the first operator network proxy cluster at the edge side to the second operator network proxy cluster at the source side, and to transmit information from the second operator network proxy cluster at the source node side to the The first operator's network on the edge side transmits information through the proxy cluster; and

源节点侧第二运营商网络代理集群,被配置为根据通过所述传输通道接收的来自所述边缘侧第一运营商网络代理集群的文件下载请求,向所述第二运营商网络相关的数据源节点发送文件下载请求,以及接收所述第二运营商网络相关的数据源节点返回的所请求的文件,并通过所述传输通道传输至所述边缘侧第一运营商网络代理集群;The second operator network proxy cluster on the source node side is configured to send data related to the second operator network to the second operator network according to the file download request received from the edge side first operator network proxy cluster through the transmission channel. The source node sends a file download request, and receives the requested file returned by the data source node related to the second operator network, and transmits it to the edge-side first operator network proxy cluster through the transmission channel;

所述第二运营商网络至第一运营商网络的代理集群包括:The proxy clusters from the second operator network to the first operator network include:

边缘侧第二运营商网络代理集群,被配置为接收来自第二运营商网络的边缘节点的文件下载请求,以及向所述第二运营商网络的边缘节点返回所请求的文件;The second operator network proxy cluster on the edge side is configured to receive a file download request from an edge node of the second operator network, and return the requested file to the edge node of the second operator network;

传输通道,被配置为从所述边缘侧第二运营商网络代理集群向源节点侧第一运营商网络代理集群传输信息,以及从所述源节点侧第一运营商网络代理集群向所述边缘侧第二运营商网络代理集群传输信息;以及The transmission channel is configured to transmit information from the second operator network proxy cluster on the edge side to the first operator network proxy cluster on the source node side, and to transmit information from the first operator network proxy cluster on the source node side to the edge The second operator's network proxy cluster transmits information on the side; and

源节点侧第一运营商网络代理集群,被配置为根据通过所述传输通道接收的来自所述边缘侧第二运营商网络代理集群的文件下载请求,向所述第一运营商网络相关的数据源节点发送文件下载请求,以及接收所述第一运营商网络相关的数据源节点返回的所请求的文件,并通过所述传输通道传输至所述边缘侧第二运营商网络代理集群。The first operator network proxy cluster on the source node side is configured to send data related to the first operator network to the first operator network according to the file download request received through the transmission channel from the second operator network proxy cluster on the edge side. The source node sends a file download request, and receives the requested file returned by the data source node related to the first operator network, and transmits it to the second operator network proxy cluster at the edge side through the transmission channel.

C10、一种用于数据下载系统中的下载管理方法,所述数据下载系统至少包括边缘节点和数据源节点,该下载管理方法包括:C10. A download management method used in a data download system, the data download system at least includes an edge node and a data source node, and the download management method includes:

边缘节点获得来自客户端设备的文件下载请求,并根据所述文件下载请求的下载地址解析出所请求的文件的内容摘要;The edge node obtains the file download request from the client device, and parses out the content summary of the requested file according to the download address of the file download request;

边缘节点根据所请求的文件的内容摘要在缓存中查找是否存在所请求的文件,如果存在,则将所请求的文件传输至客户端设备;以及The edge node looks up whether the requested file exists in the cache according to the content digest of the requested file, and if so, transmits the requested file to the client device; and

如果在缓存中没有查找到所请求的文件,则边缘节点从所请求的文件相关的数据源节点获取所请求的文件,并传输至所述客户端设备;If the requested file is not found in the cache, the edge node obtains the requested file from a data source node related to the requested file, and transmits it to the client device;

边缘节点缓存从数据源节点获得的文件以及所述文件的内容摘要,所述文件的内容摘要是对所述文件的内容采用特定数据转换生成的数据。The edge node caches the file obtained from the data source node and the content summary of the file, and the content summary of the file is data generated by applying specific data conversion to the content of the file.

C11、如C10所述的下载管理方法,所述从所请求的文件相关的数据源节点获取所请求的文件的步骤包括:C11. The download management method as described in C10, the step of obtaining the requested file from the data source node related to the requested file includes:

逐个部分地从所述数据源节点获取所请求的文件的各部分,并同时向所述客户端设备传输所请求的文件中所获取的部分,直到完全获取了所请求的文件为止。Portions of the requested file are fetched from the data source node portion by portion, and the fetched portions of the requested file are simultaneously transmitted to the client device until the requested file is completely fetched.

C12、如C10或11所述的下载管理方法,所述数据下载系统还包括第一运营商网络至第二运营商网络的代理集群,所述从所请求的文件相关的数据源节点获取所请求的文件的步骤包括:C12. The download management method as described in C10 or 11, the data download system further includes a proxy cluster from the first operator network to the second operator network, and the requested file is obtained from the data source node related to the requested file. The steps for the file include:

根据已知的回源表和所请求的文件的下载地址查询所请求的文件相关的数据源节点;Query the data source node related to the requested file according to the known back-to-source table and the download address of the requested file;

当所述边缘节点为第一运营商网络的边缘节点,并且查询到的所请求的文件相关的数据源节点包括所述第一运营商网络的数据源节点时,直接从所述第一运营商网络的数据源节点获取所请求的文件;When the edge node is an edge node of the first operator network, and the requested file-related data source nodes include the data source node of the first operator network, directly from the first operator network The data source node of the network obtains the requested file;

当所述边缘节点为第一运营商网络的边缘节点,并且查询到的所请求的文件相关的数据源节点是第二运营商网络的数据源节点时,通过所述第一运营商网络至第二运营商网络的代理集群从所述第二运营商网络相关的数据源节点获取所请求的文件。When the edge node is an edge node of the first operator network, and the requested file related data source node is a data source node of the second operator network, through the first operator network to the second operator network The proxy cluster of the second operator network obtains the requested file from the data source node related to the second operator network.

C13、如C10至C12中任一项所述的下载管理方法,所述第一运营商网络至第二运营商网络的代理集群包括边缘侧第一运营商网络代理集群、传输通道和源节点侧第二运营商网络代理集群,所述边缘节点通过所述第一运营商网络至第二运营商网络的代理集群从所述第二运营商网络相关的数据源节点获取所请求的文件的步骤包括:C13. The download management method described in any one of C10 to C12, wherein the agent clusters from the first operator network to the second operator network include the first operator network agent cluster on the edge side, the transmission channel and the source node side The second operator network proxy cluster, the step of the edge node obtaining the requested file from the data source node related to the second operator network through the proxy cluster from the first operator network to the second operator network includes: :

边缘侧第一运营商网络代理集群接收来自第一运营商网络的边缘节点的文件下载请求,并通过传输通道传输至所述源节点侧第二运营商网络代理集群;The first operator's network agent cluster on the edge side receives the file download request from the edge node of the first operator's network, and transmits it to the second operator's network agent cluster on the source node side through a transmission channel;

源节点侧第二运营商网络代理集群根据来自所述边缘侧第一运营商网络代理集群的文件下载请求,向所述第二运营商网络相关的数据源节点发送文件下载请求,并接收所述第二运营商网络相关的数据源节点返回的所请求的文件;The second operator network proxy cluster on the source node side sends a file download request to the data source node related to the second operator network according to the file download request from the first operator network proxy cluster on the edge side, and receives the file download request. The requested file returned by the data source node related to the second operator network;

所述源节点侧第二运营商网络代理集群将所请求的文件通过所述传输通道传输至所述边缘侧第一运营商网络代理集群;The second operator network proxy cluster on the source node side transmits the requested file to the first operator network proxy cluster on the edge side through the transmission channel;

所述边缘侧第一运营商网络代理集群将所请求的文件传输至所述第一运营商网络的边缘节点。The proxy cluster of the first operator network on the edge side transmits the requested file to the edge node of the first operator network.

C14、如C10至C13中任一项所述的下载管理方法,所述各步骤通过varniash缓存服务器执行。C14. The download management method described in any one of C10 to C13, wherein each step is executed by a varniash cache server.

Claims (10)

1.一种用于边缘节点中的下载管理设备,包括:1. A download management device used in an edge node, comprising: 缓存器,被配置为缓存从数据源节点获得的各个文件以及各个文件的内容摘要,所述文件的内容摘要是对所述文件的内容采用特定数据转换生成的数据;A cache configured to cache each file obtained from the data source node and the content summary of each file, the content summary of the file is data generated by applying specific data conversion to the content of the file; 解析器,被配置为获得来自客户端设备的文件下载请求,并根据所述文件下载请求的下载地址解析出所请求的文件的内容摘要;A parser configured to obtain a file download request from the client device, and parse out a content summary of the requested file according to the download address of the file download request; 查找器,被配置为根据所述解析器解析出的所述所请求的文件的内容摘要在所述缓存器中查找所请求的文件,如果查找到,则将所请求的文件传输至客户端设备;以及A finder configured to search the cache for the requested file according to the content summary of the requested file parsed by the parser, and if found, transmit the requested file to the client device ;as well as 回源器,被配置为当所述查找器在所述缓存器中没有查找到所请求的文件时,从所请求的文件相关的数据源节点获取所请求的文件,并传输至所述客户端设备,以及将所请求的文件提供给所述缓存器进行缓存。A source returner configured to obtain the requested file from a data source node related to the requested file when the finder does not find the requested file in the cache, and transmit it to the client device, and provide the requested file to the cache for caching. 2.如权利要求1所述的下载管理设备,所述回源器适于逐个部分地从所述数据源节点获取所请求的文件的各部分,并同时向所述客户端设备传输所请求的文件中所获取的部分,直到完全获取了所请求的文件为止。2. The download management device according to claim 1, the source return device is adapted to obtain each part of the requested file from the data source node part by part, and transmit the requested file to the client device at the same time. The portion of the file that is fetched until the requested file is completely fetched. 3.如权利要求1或2所述的下载管理设备,所述回源器包括:3. The download management device according to claim 1 or 2, wherein the source returning device comprises: 数据源查询模块,被配置为根据已知的回源表和所请求的文件的下载地址查询所述所请求的文件相关的数据源节点;The data source query module is configured to query the data source node related to the requested file according to the known back-to-source table and the download address of the requested file; 直接回源模块,被配置为当所述边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点包括所述第一运营商网络的数据源节点时,直接从所述第一运营商网络的数据源节点获取所请求的文件;The direct back-to-source module is configured so that when the edge node is an edge node of the first operator network, and the data source nodes related to the requested file include the data source nodes of the first operator network , directly obtaining the requested file from the data source node of the first operator network; 代理回源模块,被配置为当所述边缘节点为第一运营商网络的边缘节点,并且所查询到的所请求的文件相关的数据源节点是第二运营商网络的数据源节点时,通过所述第一运营商网络至第二运营商网络的代理集群从所述第二运营商网络相关的数据源节点获取所请求的文件;以及The proxy back-to-source module is configured to: when the edge node is an edge node of the first operator network, and the data source node related to the requested file is a data source node of the second operator network, through obtaining the requested file from a data source node associated with the second operator network; and 缓存通知模块,被配置为将通过所述直接回源模块或代理回源模块获取到所请求的文件之后,通知所述缓存器对所请求的文件进行缓存。The cache notification module is configured to notify the cache to cache the requested file after the requested file is acquired through the direct back-to-source module or proxy back-to-source module. 4.如权利要求1至3中任一项所述的下载管理设备,所述文件的内容摘要包括:安全哈希演算sha系列数据中的一种,或,信息摘要演算MD系列数据中的一种。4. The download management device according to any one of claims 1 to 3, wherein the content summary of the file includes: one of the secure hash calculation sha series data, or one of the information summary calculation MD series data kind. 5.如权利要求1至4中任一项所述的下载管理设备,所述下载管理设备是varniash缓存服务器。5. The download management device according to any one of claims 1 to 4, which is a varniash cache server. 6.一种数据下载系统,包括边缘节点、为不同运营商网络之间提供信息交互服务的代理集群,以及数据源节点,其中所述边缘节点包括如权利要求1至5中任一项所述下载管理设备。6. A data download system, comprising an edge node, a proxy cluster providing information interaction services between different operator networks, and a data source node, wherein the edge node includes the Download and manage devices. 7.根据权利要求6所述的系统,还包括:用于提供文件下载地址的管理设备,所述边缘节点接收到的文件下载请求的下载地址由所述用于提供文件下载地址的管理设备所提供;其中,7. The system according to claim 6, further comprising: a management device for providing a file download address, the download address of the file download request received by the edge node is determined by the management device for providing a file download address provided; among them, 所述用于提供文件下载地址的管理设备包括:The management device for providing a file download address includes: 资源定位器,被配置为根据文件在数据源节点中的存储路径生成所述文件的资源定位信息;The resource locator is configured to generate the resource location information of the file according to the storage path of the file in the data source node; 摘要生成器,被配置为对所述文件的内容采用特定数据转换生成所述文件的内容摘要;以及a digest generator configured to apply specific data transformations to the content of the file to generate a content digest of the file; and 下载地址生成器,被配置为至少根据所述资源定位器提供的所述文件的资源定位信息和所述摘要生成器提供的所述文件的内容摘要,生成所述文件的下载地址,所述下载地址中至少包括所述文件的资源定位信息和所述文件的内容摘要。The download address generator is configured to generate the download address of the file at least according to the resource location information of the file provided by the resource locator and the content summary of the file provided by the summary generator, and the download The address includes at least the resource location information of the file and the content summary of the file. 8.根据权利要求7所述的系统,所述下载地址生成器生成的所述文件的下载地址是所述文件的统一资源定位符URL。8. The system according to claim 7, wherein the download address of the file generated by the download address generator is a Uniform Resource Locator (URL) of the file. 9.根据权利要求6至8中任一项所述的系统,所述为不同运营商网络之间提供信息交互服务的代理集群包括第一运营商网络至第二运营商网络的代理集群,以及第二运营商网络至第一运营商网络的代理集群,其中,9. The system according to any one of claims 6 to 8, wherein the agent clusters that provide information interaction services between different operator networks include agent clusters from the first operator network to the second operator network, and A proxy cluster from the second operator network to the first operator network, wherein, 所述第一运营商网络至第二运营商网络的代理集群包括:The proxy clusters from the first operator network to the second operator network include: 边缘侧第一运营商网络代理集群,被配置为接收来自第一运营商网络的边缘节点的文件下载请求,以及向所述第一运营商网络的边缘节点返回所请求的文件;The first operator network proxy cluster on the edge side is configured to receive a file download request from an edge node of the first operator network, and return the requested file to the edge node of the first operator network; 传输通道,被配置为从所述边缘侧第一运营商网络代理集群向所述源侧第二运营商网络代理集群传输信息,以及从所述源节点侧第二运营商网络代理集群向所述边缘侧第一运营商网络代理集群传输信息;以及The transmission channel is configured to transmit information from the first operator network proxy cluster at the edge side to the second operator network proxy cluster at the source side, and to transmit information from the second operator network proxy cluster at the source node side to the The first operator's network on the edge side transmits information through the proxy cluster; and 源节点侧第二运营商网络代理集群,被配置为根据通过所述传输通道接收的来自所述边缘侧第一运营商网络代理集群的文件下载请求,向所述第二运营商网络相关的数据源节点发送文件下载请求,以及接收所述第二运营商网络相关的数据源节点返回的所请求的文件,并通过所述传输通道传输至所述边缘侧第一运营商网络代理集群;The second operator network proxy cluster on the source node side is configured to send data related to the second operator network to the second operator network according to the file download request received from the edge side first operator network proxy cluster through the transmission channel. The source node sends a file download request, and receives the requested file returned by the data source node related to the second operator network, and transmits it to the edge-side first operator network proxy cluster through the transmission channel; 所述第二运营商网络至第一运营商网络的代理集群包括:The proxy clusters from the second operator network to the first operator network include: 边缘侧第二运营商网络代理集群,被配置为接收来自第二运营商网络的边缘节点的文件下载请求,以及向所述第二运营商网络的边缘节点返回所请求的文件;The second operator network proxy cluster on the edge side is configured to receive a file download request from an edge node of the second operator network, and return the requested file to the edge node of the second operator network; 传输通道,被配置为从所述边缘侧第二运营商网络代理集群向源节点侧第一运营商网络代理集群传输信息,以及从所述源节点侧第一运营商网络代理集群向所述边缘侧第二运营商网络代理集群传输信息;以及The transmission channel is configured to transmit information from the second operator network proxy cluster on the edge side to the first operator network proxy cluster on the source node side, and to transmit information from the first operator network proxy cluster on the source node side to the edge The second operator's network proxy cluster transmits information on the side; and 源节点侧第一运营商网络代理集群,被配置为根据通过所述传输通道接收的来自所述边缘侧第二运营商网络代理集群的文件下载请求,向所述第一运营商网络相关的数据源节点发送文件下载请求,以及接收所述第一运营商网络相关的数据源节点返回的所请求的文件,并通过所述传输通道传输至所述边缘侧第二运营商网络代理集群。The first operator network proxy cluster on the source node side is configured to send data related to the first operator network to the first operator network according to the file download request received through the transmission channel from the second operator network proxy cluster on the edge side. The source node sends a file download request, receives the requested file returned by the data source node related to the first operator network, and transmits it to the second operator network proxy cluster at the edge side through the transmission channel. 10.一种用于数据下载系统中的下载管理方法,所述数据下载系统至少包括边缘节点和数据源节点,该下载管理方法包括:10. A download management method used in a data download system, the data download system at least including an edge node and a data source node, the download management method comprising: 边缘节点获得来自客户端设备的文件下载请求,并根据所述文件下载请求的下载地址解析出所请求的文件的内容摘要;The edge node obtains the file download request from the client device, and parses out the content summary of the requested file according to the download address of the file download request; 边缘节点根据所请求的文件的内容摘要在缓存中查找是否存在所请求的文件,如果存在,则将所请求的文件传输至客户端设备;以及The edge node looks up whether the requested file exists in the cache according to the content digest of the requested file, and if so, transmits the requested file to the client device; and 如果在缓存中没有查找到所请求的文件,则边缘节点从所请求的文件相关的数据源节点获取所请求的文件,并传输至所述客户端设备;If the requested file is not found in the cache, the edge node obtains the requested file from a data source node related to the requested file, and transmits it to the client device; 边缘节点缓存从数据源节点获得的文件以及所述文件的内容摘要,所述文件的内容摘要是对所述文件的内容采用特定数据转换生成的数据。The edge node caches the file obtained from the data source node and the content summary of the file, and the content summary of the file is data generated by applying specific data conversion to the content of the file.
CN201710084177.8A 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system Pending CN106850817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710084177.8A CN106850817A (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210528632.6A CN103036967B (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system
CN201710084177.8A CN106850817A (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210528632.6A Division CN103036967B (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system

Publications (1)

Publication Number Publication Date
CN106850817A true CN106850817A (en) 2017-06-13

Family

ID=48023439

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210528632.6A Expired - Fee Related CN103036967B (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system
CN201710084177.8A Pending CN106850817A (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210528632.6A Expired - Fee Related CN103036967B (en) 2012-12-10 2012-12-10 A kind of download management equipment, method and data downloading system

Country Status (1)

Country Link
CN (2) CN103036967B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454164A (en) * 2017-08-03 2017-12-08 奇酷互联网络科技(深圳)有限公司 Resource downloading method, system, storage medium and computer equipment
CN108989907A (en) * 2018-08-22 2018-12-11 深圳市网心科技有限公司 Live data streams processing method and system, electronic device and computer readable storage medium
CN112003721A (en) * 2020-07-15 2020-11-27 苏州浪潮智能科技有限公司 A method and device for realizing high availability of a management node of a big data platform
CN114125060A (en) * 2021-09-28 2022-03-01 北京知道创宇信息技术股份有限公司 Resource caching method and device, electronic equipment and readable storage medium

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123297B (en) * 2013-04-26 2018-04-06 宏碁股份有限公司 Content searching method of remote file and electronic device
CN103248684B (en) * 2013-04-28 2016-09-28 北京奇虎科技有限公司 Resource acquiring method and device in a kind of the Internet
CN103618778A (en) * 2013-11-21 2014-03-05 上海爱数软件有限公司 System and method for achieving data high concurrency through Linux virtual host
CN104714965B (en) * 2013-12-16 2019-10-18 阿里巴巴集团控股有限公司 Static resource De-weight method, static resource management method and device
CN104836822B (en) * 2014-02-10 2019-04-26 腾讯科技(深圳)有限公司 Obtain downloading data method and device, the method and system of downloading data
CN104144223B (en) * 2014-08-21 2018-02-09 北京奇艺世纪科技有限公司 A kind of data capture method and device
CN105450703A (en) * 2014-08-28 2016-03-30 杭州迪普科技有限公司 Data caching method and data caching device
CN114079669B (en) * 2015-04-07 2025-01-07 安博科技有限公司 System for providing a global virtual network (GVN)
CN106686033A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 A method, device and system for caching and serving content
CN105721538A (en) * 2015-12-30 2016-06-29 东莞市青麦田数码科技有限公司 Data access method and apparatus
CN106170023B (en) * 2016-08-31 2019-04-26 网宿科技股份有限公司 A method, device, system and server for processing network resources
CN106375471B (en) * 2016-09-29 2019-12-13 北京奇艺世纪科技有限公司 Edge node determination method and device
CN106685762B (en) * 2016-12-29 2020-02-18 北京爱奇艺科技有限公司 Data back-to-source scheduling method and device and CDN (content delivery network)
CN106656674A (en) * 2016-12-29 2017-05-10 北京爱奇艺科技有限公司 Data sourcing scheduling method and device
CN107580021A (en) * 2017-08-01 2018-01-12 北京奇艺世纪科技有限公司 A kind of method and apparatus of file transmission
CN108111623A (en) * 2017-12-29 2018-06-01 北京奇虎科技有限公司 A kind of communication means and device based on content distributing network CDN
CN108366104B (en) * 2018-01-29 2020-11-13 北京奇艺世纪科技有限公司 Data downloading control method and device
CN108880889A (en) * 2018-06-22 2018-11-23 申报家(广州)智能科技发展有限公司 A kind of management method and device of automatic acquisition network storage resource
CN110943876B (en) * 2018-09-21 2023-04-18 阿里巴巴集团控股有限公司 URL state detection method, device, equipment and system
CN109889578B (en) * 2019-01-23 2021-03-02 中南大学 A cloud-side collaborative processing transmission method and system
CN109672756B (en) * 2019-02-14 2022-04-19 网宿科技股份有限公司 A data transmission method and related device, server and storage medium
CN110012106B (en) * 2019-04-15 2021-01-29 北京邮电大学 Edge calculation-based coordinated caching method, device and system
CN113452539B (en) * 2020-03-26 2022-07-19 北京金山云网络技术有限公司 Source station switching method and device, electronic equipment and storage medium
CN111988405B (en) * 2020-08-20 2023-09-26 杭州迪普科技股份有限公司 Message rewriting method of load balancing device and load balancing device
CN112003945A (en) * 2020-08-26 2020-11-27 杭州迪普科技股份有限公司 Service request response method and device
CN114006943A (en) * 2022-01-04 2022-02-01 北京金山云网络技术有限公司 Data source returning method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481635A (en) * 2000-10-26 2004-03-10 普里斯梅迪亚网络有限公司 Method and appts. for large payload distribution in network
US20070143255A1 (en) * 2005-11-28 2007-06-21 Webaroo, Inc. Method and system for delivering internet content to mobile devices
CN101026744A (en) * 2007-03-30 2007-08-29 Ut斯达康通讯有限公司 Distributed flow media distribution system, and flow media memory buffer and scheduling distribution method
CN102143199A (en) * 2010-10-19 2011-08-03 华为技术有限公司 Content acquisition method, node and content network
CN102195957A (en) * 2010-03-19 2011-09-21 华为技术有限公司 Resource sharing method, device and system
CN102411638A (en) * 2011-12-30 2012-04-11 中国科学院自动化研究所 A Multimedia Abstract Generation Method for News Retrieval Results
CN102523299A (en) * 2011-12-22 2012-06-27 北京邮电大学 Cache method for content identification based on message digests

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552669A (en) * 2008-04-02 2009-10-07 林兆祥 Method and system of data transmission
US7873060B2 (en) * 2008-10-18 2011-01-18 Fortinet, Inc. Accelerating data communication using tunnels
US20120036365A1 (en) * 2010-08-06 2012-02-09 Microsoft Corporation Combining request-dependent metadata with media content

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481635A (en) * 2000-10-26 2004-03-10 普里斯梅迪亚网络有限公司 Method and appts. for large payload distribution in network
US20070143255A1 (en) * 2005-11-28 2007-06-21 Webaroo, Inc. Method and system for delivering internet content to mobile devices
CN101026744A (en) * 2007-03-30 2007-08-29 Ut斯达康通讯有限公司 Distributed flow media distribution system, and flow media memory buffer and scheduling distribution method
CN102195957A (en) * 2010-03-19 2011-09-21 华为技术有限公司 Resource sharing method, device and system
CN102143199A (en) * 2010-10-19 2011-08-03 华为技术有限公司 Content acquisition method, node and content network
CN102523299A (en) * 2011-12-22 2012-06-27 北京邮电大学 Cache method for content identification based on message digests
CN102411638A (en) * 2011-12-30 2012-04-11 中国科学院自动化研究所 A Multimedia Abstract Generation Method for News Retrieval Results

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454164A (en) * 2017-08-03 2017-12-08 奇酷互联网络科技(深圳)有限公司 Resource downloading method, system, storage medium and computer equipment
CN108989907A (en) * 2018-08-22 2018-12-11 深圳市网心科技有限公司 Live data streams processing method and system, electronic device and computer readable storage medium
CN112003721A (en) * 2020-07-15 2020-11-27 苏州浪潮智能科技有限公司 A method and device for realizing high availability of a management node of a big data platform
CN112003721B (en) * 2020-07-15 2022-10-14 苏州浪潮智能科技有限公司 Method and device for realizing high availability of large data platform management node
CN114125060A (en) * 2021-09-28 2022-03-01 北京知道创宇信息技术股份有限公司 Resource caching method and device, electronic equipment and readable storage medium
CN114125060B (en) * 2021-09-28 2023-10-13 北京知道创宇信息技术股份有限公司 Resource caching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN103036967A (en) 2013-04-10
CN103036967B (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN103036967B (en) A kind of download management equipment, method and data downloading system
CN103036969B (en) For providing the management equipment and method of file download address
US11909639B2 (en) Request routing based on class
US11194719B2 (en) Cache optimization
US9800539B2 (en) Request routing management based on network components
US9160703B2 (en) Request routing management based on network components
US9608957B2 (en) Request routing using network computing components
US9191458B2 (en) Request routing using a popularity identifier at a DNS nameserver
CN102571997B (en) Method, system and device for data access
EP2266064A2 (en) Request routing
CN110807160A (en) Content acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170613

RJ01 Rejection of invention patent application after publication