WO2019196825A1 - 基于区块链网络的资源获取方法和系统及存储介质和计算机设备 - Google Patents

基于区块链网络的资源获取方法和系统及存储介质和计算机设备 Download PDF

Info

Publication number
WO2019196825A1
WO2019196825A1 PCT/CN2019/081892 CN2019081892W WO2019196825A1 WO 2019196825 A1 WO2019196825 A1 WO 2019196825A1 CN 2019081892 W CN2019081892 W CN 2019081892W WO 2019196825 A1 WO2019196825 A1 WO 2019196825A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
node server
blockchain network
url
network node
Prior art date
Application number
PCT/CN2019/081892
Other languages
English (en)
French (fr)
Inventor
杨洋
苗辉
Original Assignee
贵州白山云科技股份有限公司
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 贵州白山云科技股份有限公司 filed Critical 贵州白山云科技股份有限公司
Publication of WO2019196825A1 publication Critical patent/WO2019196825A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • Embodiments of the present invention relate to, but are not limited to, the field of Internet technologies, and in particular, to a resource acquisition method and system based on a blockchain network, and a storage medium and a computer device.
  • the current cloud distribution system works in the "near client cache” plus “back to source” mode.
  • the “near client cache” refers to a node in the cloud distribution system that is geographically close to the client, and caches the content of the website that the client wants to access.
  • the acquisition of the original content to be cached is implemented by “back to the source”, that is, the cloud distribution node accesses the source station instead of the client, and obtains the corresponding content/resource from the source station. Because the source station generally has a small geographical distribution and is far away from the client, the cache node of the widely distributed cloud distribution system provides the function of accelerating the website access.
  • the nodes in the cloud distribution system are closer to the client, it means that the nodes in the cloud distribution system are the same as the clients, and the distance of the homologous stations is far. Then the problem that the client accesses the source station is slow, and the nodes in the cloud distribution system also exist when accessing the source station. In addition, the performance of the source station is usually poor (because the server resources are not as many as the nodes in the cloud distribution system), and the simultaneous access of the source station by a large number of cloud distribution systems may cause the source station to crash.
  • the source rate limit refers to the limitation that the CDN node will send back the source request when it returns to the source.
  • the reason is that there are a large number of CDN nodes, and the source station generally has limited resources to provide external services. Therefore, the service carrying capacity of the source station is much smaller than that of the CDN network (for example, the number of requests and the frequency of requests, both of which are larger than the source station).
  • the CDN node In order to prevent a large number of sources of CDN from causing the source station to fail to provide normal services, the CDN node will limit the return source, that is, "return source speed limit". Whether the request will return to the source when it reaches the CDN node, the speed limit threshold check is first performed. The request exceeding the threshold will be suspended and cannot be returned to the source, which increases the response delay.
  • a resource acquisition method based on a blockchain network includes:
  • Step 1 The cloud distribution network node server receives, from the source station, association information between a URL (Uniform Resource Locator) of the resource on the source station and a unique retrieval identifier;
  • URL Uniform Resource Locator
  • Step 2 After receiving the request for a resource from the client, the cloud distribution network node server determines, according to the URL in the request, whether the unique retrieval identifier associated with the URL exists in the received association relationship information, If so, the unique retrieval identifier associated with the URL is sent to the node server in the blockchain network.
  • the method further comprises performing before the step 1:
  • Step 11 the node server in the blockchain network receives resources from the source station, and sends the received resources to all or part of the node servers in the blockchain network;
  • a node server in the blockchain network generates a unique retrieval identifier corresponding to the resource, and transmits an association relationship between the unique retrieval identifier and the resource to all of the blockchain network or Part of the node server.
  • the step 11 further includes:
  • At least one node server in the blockchain network transmits an association relationship between the unique retrieval identifier and the resource to the source station.
  • the method further comprises performing between the step 11 and the step 1:
  • Step 12 The source station receives an association relationship between the unique search identifier and the resource, and generates association information between the URL of the resource and the unique search identifier based on a URL corresponding to the resource, and The association information of the URL of the resource and the unique retrieval identifier is sent to the cloud distribution network node server.
  • the method further includes performing after the step 2:
  • the blockchain network node server After receiving the unique retrieval identifier sent by the cloud distribution network node server, the blockchain network node server queries and acquires the unique retrieval identifier based on the association relationship between the unique retrieval identifier and the resource. Corresponding resources and sending the resources to the cloud distribution network node server.
  • the sending, by the step 2, the unique retrieval identifier associated with the URL to the node server in the blockchain network includes:
  • At least one node server in the blockchain network is selected and a unique retrieval identifier associated with the URL is sent to the selected blockchain network node server.
  • a resource extraction system based on a blockchain network comprising a cloud distribution network node server, the cloud distribution network node server being configured to:
  • the unique retrieval identifier is sent to the node server in the blockchain network.
  • the system further includes a blockchain network node server, and the blockchain network node server is configured to:
  • the blockchain network node server is further configured to:
  • system further includes the source station, the source station is set to:
  • the blockchain network node server is further configured to:
  • the cloud distribution network node server After receiving the unique retrieval identifier sent by the cloud distribution network node server, querying and acquiring a resource corresponding to the unique retrieval identifier based on the association relationship between the unique retrieval identifier and the resource, and The resource is sent to the cloud distribution network node server.
  • the cloud distribution network node server is further configured to:
  • At least one node server in the blockchain network is selected and a unique retrieval identifier associated with the URL is sent to the selected blockchain network node server.
  • Another aspect of an embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
  • Another aspect of an embodiment of the present invention provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the program The steps of the above method.
  • the blockchain network is set between the cloud distribution network and the source station.
  • the source station is isolated, and some resources of the source station can be obtained normally, and the source station can be protected, that is, Preventing a large number of node servers of the cloud distribution network from making requests to the source station at the same time causes the source station to be overstressed, exceeding the upper limit of the processing capacity it can support.
  • FIG. 1 is a flowchart of a resource acquisition method based on a blockchain network according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a resource acquisition system based on a blockchain network, in accordance with an embodiment of the present invention.
  • the cloud distribution network node server is slow to return, and the nodes in the cloud distribution system accessing the source station at the same time may cause the problem of the source station, and the resource based on the blockchain network in the embodiment of the present invention
  • the acquisition method and system propose a method for acquiring resources faster based on a blockchain network.
  • the source station resources are stored on each node server of the blockchain network to solve the problem of source station performance bottleneck; and the cloud distribution network is accessed between the blockchain network and the client.
  • a unique retrieval identifier associated with the URL is queried on the cloud distribution network node server by using a URL in the client request, if the only unique association is queried Retrieving the identifier, the unique retrieval identifier is sent to the node server of the blockchain network, and the associated resource is retrieved by the blockchain network node server by the unique retrieval identifier and sent to the cloud distribution network node server. Since there are multiple node servers in the blockchain network, and there will be a blockchain network node server closer to the cloud distribution network node server that receives the client request, the cloud distribution network node server does not need to be far away.
  • the source station obtains resources and acquires resources from a closer blockchain network node server. In this way, the problem that the source device is far away from the source station and the source is slower can be solved.
  • each cloud distribution network node server selects a blockchain network node server with a relatively close distance, and does not need to return resources to obtain resources, thus solving a large number of nodes in the cloud distribution system. Simultaneous access to the source station may cause problems with the source station.
  • the embodiment of the invention provides a resource acquisition method based on a blockchain network. As shown in FIG. 1 , the method includes:
  • Step 101 The cloud distribution network node server receives, from the source station, association information between the URL of the resource on the source station and the unique retrieval identifier.
  • Step 102 After receiving the request for a resource from the client, the cloud distribution network node server determines, according to the URL in the request, whether the unique retrieval identifier associated with the URL exists in the received association information, and if yes, The unique retrieval identifier associated with the URL is sent to the node server in the blockchain network.
  • the cloud distribution network node server stores an association relationship between the URL of the resource received from the source station and the unique retrieval identifier.
  • the cloud distribution network node server receives the request for a resource, if the URL in the request can be queried according to the URL in the request
  • the unique search identifier of the link indicates that the resource corresponding to the URL is stored in the node server of the blockchain network. If the query is not available, it indicates that the resource corresponding to the URL is not stored in the node server of the blockchain network. Need to return to the source to get resources.
  • the blockchain network node server may be closer to the cloud distribution network node server that receives the request, if the cloud distribution network node server can acquire resources from a closer blockchain network node server, the source recovery resource can be avoided.
  • the source recovery resource can be avoided.
  • there are many node network nodes in the blockchain network it is also possible to avoid the problem that a large number of node servers simultaneously access the source station and cause the source station to be defective.
  • the URL in the client request cannot be identified by the blockchain network node server, that is, the corresponding resource stored in the blockchain network node server cannot be retrieved through the URL, so in the blockchain network
  • the front end of the cloud setting network through the cloud distribution network node server stored URL and the unique retrieval identifier relationship, query the unique retrieval identifier associated with the URL, thus, the blockchain network node server can not
  • the identified URL is transformed into a unique retrieval identifier that can be recognized in order to retrieve the resource corresponding to the URL, so that the corresponding resource can be quickly obtained.
  • the cloud distribution network node server after receiving the request of the client for the resource, the cloud distribution network node server usually first determines whether the resource is cached locally, and if so, directly returns the resource to the requesting client.
  • the method further includes performing step 1011 before the step 101: the node server in the blockchain network receives the resource from the source station, and transmits the received resource to all or part of the node server in the blockchain network; in the blockchain network A node server generates a unique retrieval identifier corresponding to the resource and transmits the association relationship of the unique retrieval identifier to the resource to all or a part of the node servers in the blockchain network.
  • the resources can only be stored on the partial node servers for backup.
  • the resources of the source station are redundantly stored on the blockchain network node server, so that a large number of cloud distribution network node servers can be dispersed from the blockchain.
  • the network node server acquires resources to solve the problem of source station performance bottlenecks.
  • the characteristics of the blockchain network itself ensure that the resources on which the source station is published are not maliciously tampered with.
  • a node server in the blockchain network uses its own consistency algorithm to store the resource redundantly on all or part of the node servers in the blockchain network.
  • the consistency algorithm herein can be implemented according to the prior art, and details are not described herein again.
  • a node server of the blockchain network can generate a unique retrieval identifier corresponding to each resource and maintain an association relationship between each resource and a corresponding unique retrieval identifier.
  • the resource has a one-to-one correspondence with the unique retrieval identifier.
  • the node server of the blockchain network may store the association of the resource with the unique retrieval identifier in the form of a list.
  • a blockchain network node server that generates a unique retrieval identifier sends the above association relationship to each node server in the blockchain network, so that each blockchain network node server receives a unique retrieval identifier from the cloud distribution network node server, The corresponding resources can be retrieved locally to speed up client access to resources.
  • the above step 1011 further includes: at least one node server in the blockchain network sends the association relationship between the unique retrieval identifier and the resource to the source station.
  • the blockchain network node server that transmits the association relationship is not limited to the blockchain network node server that generates the unique retrieval identifier, and the association relationship is backed up and stored on all or part of the node servers of the blockchain network, and thus the storage is performed.
  • the node server of the association can send the above association to the source station.
  • the method further includes performing step 1012 between step 1011 and step 101: the source station receives an association relationship between the unique retrieval identifier and the resource, and generates a URL of the resource based on a URL corresponding to the resource.
  • the source station needs to associate the URL of the resource with the corresponding unique retrieval identifier, and send the association relationship to each node server of the cloud distribution network, so that the cloud distribution network node server can be based on the URL after receiving the URL in the request.
  • the association with the unique retrieval identifier is queried to the corresponding unique retrieval identifier.
  • the source station needs to obtain an association relationship between the unique retrieval identifier and the resource, thereby associating the URL of the resource with the unique retrieval identifier based on the association relationship.
  • the method further includes performing after step 102: after receiving the unique retrieval identifier sent by the cloud distribution network node server, the blockchain network node server queries and acquires the unique retrieval identifier based on the unique retrieval identifier and the resource association relationship. Corresponding resources and send the resources to the cloud distribution network node server.
  • All or part of the node server of the blockchain network stores the resources issued by the active station, so after receiving the unique retrieval identifier, the node servers can query the resources corresponding to the unique retrieval identifier, and The resource is sent to the cloud distribution network node server, so that the cloud distribution network node server can acquire the resource faster and send it to the requesting client.
  • the blockchain network node server that receives the unique retrieval identifier from the cloud distribution network node server does not locally store the resource corresponding to the unique retrieval identifier, the blockchain network node server utilizes the blockchain network. Its own characteristics, the corresponding resources are obtained from other blockchain network node servers storing the above resources, and the resources are returned to the cloud distribution network node server that transmits the unique retrieval identifier.
  • Transmitting the unique retrieval identifier associated with the URL to the node server in the blockchain network in step 102 includes selecting at least one node server in the blockchain network based on the principle of proximity access to the geographic location, and A unique retrieval identifier associated with the URL is sent to the selected blockchain network node server.
  • the blockchain network node server with a relatively close geographical location is selected to obtain resources faster and achieve accelerated access.
  • the specific method for selecting a blockchain network node server with a relatively close geographical location can be implemented by a method in the prior art, and details are not described herein again.
  • the specific embodiment relates to a client A, a cloud distribution network C, a blockchain network D, and a source station B, wherein the cloud distribution network C includes node servers C 1 , C 2 , ..., C n , the blockchain network D includes node servers D 1 , D 2 , ..., D n .
  • This embodiment includes the following steps:
  • step 1 the source station B sends the picture P to the node server D 1 in the blockchain network D.
  • Step two the D block chain network server node. 1 D P picture transmitted to the other network node server block chain D, the other nodes in the local memory of the server image P.
  • Step 3 The node server D 2 in the blockchain network D generates a unique retrieval identifier U based on the picture P, and generates an association relationship between the picture P and the unique retrieval identifier U, and sends the association relationship to the blockchain network D.
  • step four the node server D 4 in the blockchain network D transmits the association relationship between the picture P and the unique retrieval identifier U to the source station.
  • Step 5 After receiving the association relationship between the picture P and the unique retrieval identifier U, the source station associates the unique retrieval identifier U with the URL of the picture P (http://www.111.com/a.jpeg) to generate The association information of the identifier U and the URL of the picture P is uniquely retrieved, and the association information is transmitted to the node servers C 1 , C 2 , . . . , C n in the cloud distribution network C.
  • Step six the cloud distribution network node server C C A. 1 received from the client a request for a resource, which is extracted from the URL request is http://www.111.com/a.jpeg, determined locally stored A unique retrieval identifier U associated with http://www.111.com/a.jpeg exists in the association information of the unique retrieval identifier and the URL.
  • Step 7 C in cloud distribution network node server nearest location based access selection principle from its nearest node server. 3 D, to transmit a unique identifier retrieved from the D block chain block chain network in the network D Node server D 3 in .
  • Step eight the D block chain network node server. 3 D image P obtained in the local search resources and associated unique identifier to retrieve and send to the P picture distribution network cloud server node C is C 1.
  • Step 9 the cloud distribution network node server C C P picture. 1 caches within the node, and the picture P to the client A.
  • the embodiment of the present invention further provides a resource acquisition system based on a blockchain network, where the system includes a cloud distribution network node server, and the cloud distribution network node server is configured to:
  • the unique retrieval identifier is sent to the node server in the blockchain network.
  • the system further includes a blockchain network node server, and the blockchain network node server is configured to:
  • the blockchain network node server is further configured to:
  • system further includes the source station, the source station is set to:
  • the blockchain network node server is further configured to:
  • the cloud distribution network node server After receiving the unique retrieval identifier sent by the cloud distribution network node server, querying and acquiring a resource corresponding to the unique retrieval identifier based on the association relationship between the unique retrieval identifier and the resource, and The resource is sent to the cloud distribution network node server.
  • the cloud distribution network node server is further configured to:
  • At least one node server in the blockchain network is selected and a unique retrieval identifier associated with the URL is sent to the selected blockchain network node server.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer program stores a computer program, and when the program is executed by the processor, the steps of the foregoing method are implemented.
  • the embodiment of the invention further provides a computer device, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the steps of the above method.
  • the blockchain network is set between the cloud distribution network and the source station.
  • the source station is isolated, and some resources of the source station can be obtained normally, and the source station can be protected, that is, Preventing a large number of node servers of the cloud distribution network from making requests to the source station at the same time causes the source station to be overstressed, exceeding the upper limit of the processing capacity it can support.
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer usable storage media having computer usable program code embodied therein.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the device implements the functions specified in one or more blocks of a flow or a flow and/or a block diagram of the flowchart
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the invention provides a resource acquisition method and system based on a blockchain network, which can solve the problem that the source device is far away from the source station and the source is slower, and the client accesses the website. Acceleration; and can solve the problem of source station performance bottleneck, avoid the problem of source station defects caused by a large number of node servers accessing at the same time, and the problem that the client cannot directly obtain resources from the blockchain network through the URL.
  • the characteristics of the blockchain network itself ensure that the resources on which the source station is published are not maliciously tampered with, and the blockchain network is placed between the cloud distribution network and the source station to isolate the source station in this way. , it can not only obtain certain resources of the source station, but also protect the source station.
  • the method and system provided by the embodiments of the present invention are convenient to implement.

Landscapes

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

Abstract

本发明实施例公开了一种基于区块链网络的资源获取方法和系统。该方法包括:步骤1,云分发网络节点服务器从源站接收源站上资源的URL与唯一检索标识符的关联关系信息;步骤2,云分发网络节点服务器接收来自客户端的针对一资源的请求后,基于请求中的URL判断所接收的关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。该方法和系统实现了客户端对网站访问的加速,并且避免大量节点服务器同时访问可能造成的源站瘫痪的问题。

Description

基于区块链网络的资源获取方法和系统及存储介质和计算机设备
本申请要求在2018年4月13日提交中国专利局、申请号为201810331908.9、发明名称为“一种基于区块链网络的资源获取方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及但不限于互联网技术领域,尤其涉及一种基于区块链网络的资源获取方法和系统及存储介质和计算机设备。
背景技术
当前云分发系统的工作原理是“近客户端缓存”加“回源”的模式。其中“近客户端缓存”指的是云分发系统中节点分布在从地理位置上接近客户端的地方,对客户端要访问的网站内容进行缓存。而对要缓存的原始内容的获取,则是通过“回源”实现的,也就是云分发节点代替客户端访问源站,从源站获取对应的内容/资源。因为源站一般在地理位置上的分布较少,并且与客户端距离较远,因此分布较广的云分发系统的缓存节点会提供对网站访问加速的功能。
但是既然云分发系统中节点距离客户端较近,那就说明云分发系统中节点和客户端一样,同源站的距离较远。那么客户端访问源站速度慢的问题,云分发系统中节点在访问源站的时候同样存在。此外,源站的性能通常较差(因为服务器资源没有云分发系统中节点那么多),大量的云分发系统中节点同时访问源站可能造成源站瘫痪。
现有的解决CDN(Content Delivery Network,内容分发网络)的回源问题的办法有多种,但是万变不离其中的核心手段其实都是想方设法减少对源站的访问次数,例如比较常见的“回源限速”,指的是CDN节点在回源的时候,会对回源请求进行发送的限制。其原因是CDN节点数量众多,而源站一般只有有限的资源对外提供服务。因此源站的服务承载能力要远远小于CDN网络的回源发送能力(例如请求数和请求频率两个维度,都是CDN网络大于源站)。为了防止CDN的大量回源导致源站无法提供正常服务,CDN节点会对回源进行限度,即“回源限速”。请求在到达CDN节点的时候是否会回源,首先要执行限速阈值 检查,超过阈值的请求会被挂起从而无法回源,增加了响应的延迟。
因此,需要一种能够解决上述问题的方法和系统。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
为了解决现有技术中的上述问题,提出了一种基于区块链网络的资源获取方法和系统。
根据本发明实施例的一个方面,提供了一种基于区块链网络的资源获取方法,所述方法包括:
步骤1,云分发网络节点服务器从源站接收源站上资源的URL(Uniform Resource Locator,统一资源定位符)与唯一检索标识符的关联关系信息;
步骤2,所述云分发网络节点服务器接收来自客户端的针对一资源的请求后,基于所述请求中的URL判断所接收的所述关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
其中,所述方法还包括在所述步骤1之前执行:
步骤11,所述区块链网络中的节点服务器从所述源站接收资源,并将接收的资源发送到所述区块链网络中的全部或部分节点服务器;
所述区块链网络中一节点服务器生成与所述资源相对应的唯一检索标识符,并将所述唯一检索标识符与所述资源的关联关系发送到所述区块链网络中的全部或部分节点服务器。
其中,所述步骤11还包括:
所述区块链网络中至少一个节点服务器将所述唯一检索标识符与所述资源的关联关系发送到所述源站。
其中,所述方法还包括在所述步骤11和所述步骤1之间执行:
步骤12,所述源站接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系 信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点服务器。
其中,所述方法还包括在所述步骤2后执行:
所述区块链网络节点服务器接收到所述云分发网络节点服务器发送的唯一检索标识符后,基于所述唯一检索标识符与所述资源的关联关系查询并获取与所述唯一检索标识符相对应的资源,并将所述资源发送到所述云分发网络节点服务器。
其中,所述步骤2中将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器包括:
基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
根据本发明实施例的另一方面,还提供了一种基于区块链网络的资源获取系统,所述系统包括云分发网络节点服务器,所述云分发网络节点服务器被设置为:
从源站接收源站上资源的URL与唯一检索标识符的关联关系信息;
接收来自客户端的针对一资源的请求后,基于所述请求中的URL判断所接收的所述关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
其中,所述系统还包括区块链网络节点服务器,所述区块链网络节点服务器被设置为:
从所述源站接收资源,并将接收的资源发送到所述区块链网络中的全部或部分节点服务器;
生成与所述资源相对应的唯一检索标识符,并将所述唯一检索标识符与所述资源的关联关系发送到所述区块链网络中的全部或部分节点服务器。
其中,所述区块链网络节点服务器还被设置为:
将所述唯一检索标识符与所述资源的关联关系发送到所述源站。
其中,所述系统还包括所述源站,所述源站被设置为:
接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点服务器。
其中,所述区块链网络节点服务器还被设置为:
接收到所述云分发网络节点服务器发送的唯一检索标识符后,基于所述唯一检索标识符与所述资源的关联关系查询并获取与所述唯一检索标识符相对应的资源,并将所述资源发送到所述云分发网络节点服务器。
其中,所述云分发网络节点服务器还被设置为:
基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
本发明实施例的另一方面提供了一种计算机可读存储介质,所述存储介质上存储有计算机程序,所述程序被处理器执行时实现上述方法的步骤。
本发明实施例的另一方面提供了一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述方法的步骤。
本发明实施例中的基于区块链网络的资源获取方法和系统,可以实现以下
有益效果:
(1)解决现有技术中存在的距离源站较远,回源较慢的问题,实现了客户端对网站访问的加速。由于区块链网络的节点服务器有多个,并且会存在距离收到客户端请求的云分发网络节点服务器较近的区块链网络节点服务器,这样就使得云分发网络节点服务器不用到距离较远的源站去获取资源,而从较近的区块链网络节点服务器获取资源。
(2)解决源站性能瓶颈的问题,避免大量节点服务器同时访问可能造成的源站瘫痪的问题。这是由于区块链网络中的节点服务器较多,各个云分发网络节点服务器选择距离较近的区块链网络节点服务器,而不用回源获取资源。
(3)解决客户端不能通过URL直接向区块链网络获取资源的问题。在区块链网络的前端设置云分发网络,通过云分发网络节点服务器中存储的URL与 唯一检索标识符之间的关联关系,查询与该URL关联的唯一检索标识符,这样,就将区块链网络节点服务器不能识别的URL变换为其能识别的唯一检索标识符,以便检索到与该URL相对应的资源,从而能够快速获取相应资源。
(4)区块链网络自身的特性可以确保源站发布于其上的资源不会被恶意篡改。
(5)便于实现,由于源站的内容本来就是公开的,因此与公开的区块链网络结合,不用担心隐私问题。
(6)区块链网络设置于云分发网络与源站之间,通过这种方式对源站进行隔离,既可以正常获取源站的某些资源,也可以实现对源站的保护,即,防止云分发网络的大量节点服务器同时对源站进行请求导致源站压力过大,从而超过其能支撑的处理能力上限。
附图说明
并入到说明书中并且构成说明书的一部分的附图示出了本发明的实施例,并且与描述一起用于解释本发明实施例的原理。在这些附图中,类似的附图标记用于表示类似的要素。下面描述中的附图是本发明的一些实施例,而不是全部实施例。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,可以根据这些附图获得其他的附图。
图1是根据本发明实施例的基于区块链网络的资源获取方法的流程图;
图2是根据本发明实施例的基于区块链网络的资源获取系统的模块图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
为了解决现有技术中,云分发网络节点服务器回源较慢,并且,大量的云 分发系统中节点同时访问源站可能造成源站瘫痪的问题,本发明实施例的基于区块链网络的资源获取方法和系统提出了一种基于区块链网络较快获取资源的方法。其中,利用区块链网络的特点,在区块链网络的各节点服务器上存储源站的资源,以解决源站性能瓶颈的问题;并且在区块链网络和客户端之间接入云分发网络,以解决不能利用客户端请求中的URL在区块链网络中进行资源检索的问题。
在本发明实施例的基于区块链网络的资源获取方法和系统中,通过客户端请求中的URL在云分发网络节点服务器上查询与该URL关联的唯一检索标识符,若查询到关联的唯一检索标识符,则将该唯一检索标识符发送到区块链网络的节点服务器,由区块链网络节点服务器通过该唯一检索标识符检索关联的资源并将该资源发送给云分发网络节点服务器。由于区块链网络的节点服务器有多个,并且会存在距离收到客户端请求的云分发网络节点服务器较近的区块链网络节点服务器,这样就使得云分发网络节点服务器不用到距离较远的源站去获取资源,而从较近的区块链网络节点服务器获取资源。这样就可以解决现有技术中存在的距离源站较远,回源较慢的问题。另外,由于区块链网络中的节点服务器较多,各个云分发网络节点服务器选择距离较近的区块链网络节点服务器,而不用回源获取资源,这样就解决了大量的云分发系统中节点同时访问源站可能造成源站瘫痪的问题。
本发明实施例提供了一种基于区块链网络的资源获取方法,如图1所示,该方法包括:
步骤101,云分发网络节点服务器从源站接收源站上资源的URL与唯一检索标识符的关联关系信息;
步骤102,云分发网络节点服务器接收来自客户端的针对一资源的请求后,基于请求中的URL判断所接收的关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
云分发网络节点服务器上存储有从源站接收的资源的URL与唯一检索标识符的关联关系,当云分发网络节点服务器接收针对一资源的请求时,若基于该请求中的URL能查询到相关联的唯一检索标识,就表明在区块链网络的节点服务器中存储有该URL对应的资源,若不能查询到,则表明在区块链网络的节点 服务器中没有存储该URL对应的资源,则需要回源获取资源。
由于区块链网络节点服务器可能距离接收请求的云分发网络节点服务器较近,因此若云分发网络节点服务器能够从较近的区块链网络节点服务器获取资源,就可以避免回源获取资源较慢的问题。并且,由于区块链网络节点服务器较多,也可以避免大量节点服务器同时访问源站造成源站瘫痪的问题。此外,由于区块链网络的特征,客户端请求中的URL不能被区块链网络节点服务器识别,即不能通过URL来检索区块链网络节点服务器中存储的相应资源,因此在区块链网络的前端设置云分发网络,通过云分发网络节点服务器中存储的URL与唯一检索标识符之间的关联关系,查询与该URL关联的唯一检索标识符,这样,就将区块链网络节点服务器不能识别的URL变换为其能识别的唯一检索标识符,以便检索到与该URL相对应的资源,从而能够快速获取相应资源。
需要说明的是,云分发网络节点服务器在收到客户端对资源的请求后通常先判断在本地是否缓存有该资源,如果有则直接将该资源返回给发出请求的客户端。
该方法还包括在步骤101之前执行步骤1011:区块链网络中的节点服务器从源站接收资源,并将接收的资源发送到区块链网络中的全部或部分节点服务器;区块链网络中一节点服务器生成与资源相对应的唯一检索标识符,并将唯一检索标识符与资源的关联关系发送到区块链网络中的全部或部分节点服务器。
由于区块链网络中可能有的节点服务器不能存储资源,在这种情况下,就只能将资源在部分节点服务器上存储备份。
为了解决大量节点服务器回源获取资源可能造成的源站瘫痪的问题,将源站的资源在区块链网络节点服务器上进行冗余存储,以便大量云分发网络节点服务器可以从分散的区块链网络节点服务器获取资源,以解决源站性能瓶颈的问题。另外,区块链网络自身的特性可以确保源站发布于其上的资源不会被恶意篡改。
步骤1011中,区块链网络中的一个节点服务器从源站接收资源后,利用自身的一致性算法,将该资源在区块链网络中的全部或部分节点服务器上进行冗余存储。这里的一致性算法可依据现有技术实现,在此不再赘述。区块链网络的一个节点服务器可以生成与各个资源相对应的唯一检索标识符,并保存各个 资源与相应的唯一检索标识符的关联关系。这里,资源与唯一检索标识符是一一对应的关系。区块链网络的节点服务器可以以列表的形式存储资源与唯一检索标识符的关联关系。生成唯一检索标识符的区块链网络节点服务器将上述关联关系发送区块链网络中各节点服务器,以便每个区块链网络节点服务器从云分发网络节点服务器接收到唯一检索标识符时,都可以在本地检索到相应的资源,从而加速客户端对资源的访问。
上述步骤1011还包括:所述区块链网络中至少一个节点服务器将唯一检索标识符与资源的关联关系发送到源站。
这里,发送关联关系的区块链网络节点服务器不限于生成唯一检索标识符的区块链网络节点服务器,上述关联关系在区块链网络的全部或部分节点服务器上进行备份存储,因此存储有该关联关系的节点服务器都可以将上述关联关系发送到源站。
该方法还包括在步骤1011和步骤101之间执行步骤1012:所述源站接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点服务器。
源站需要将资源的URL与相应的唯一检索标识符相关联,并将该关联关系发送到云分发网络的各节点服务器,以便云分发网络节点服务器在接受到请求中的URL后,可以基于URL与唯一检索标识符的关联关系查询到对应的唯一检索标识符。这样源站就需要获取唯一检索标识符与资源的关联关系,从而基于该关联关系,将资源的URL与唯一检索标识符相关联。
该方法还包括在步骤102后执行:区块链网络节点服务器接收到云分发网络节点服务器发送的唯一检索标识符后,基于唯一检索标识符与资源的关联关系查询并获取与唯一检索标识符相对应的资源,并将资源发送到云分发网络节点服务器。
区块链网络的全部或部分节点服务器上均存储有源站下发的资源,因此这些节点服务器在接收到唯一检索标识符后,都可以查询到与该唯一检索标识符相对应的资源,并将该资源发送到云分发网络节点服务器,以便云分发网络节点服务器可以较快获取资源后发送到请求的客户端。
需要说明的是,如果从云分发网络节点服务器接收唯一检索标识符的区块链网络节点服务器本地没有存储与该唯一检索标识符对应的资源,则该区块链网络节点服务器利用区块链网络自身的特性,从存储有上述资源的其他区块链网络节点服务器获取相应资源,并将该资源返回到发送唯一检索标识符的云分发网络节点服务器。
步骤102中将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器包括:基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
该步骤中,选择地理位置较近的区块链网络节点服务器是为了更快的获取资源,实现加速访问的效果。具体的选择地理位置较近的区块链网络节点服务器的方式可以通过现有技术中的方法实现,在此不再赘述。
下面详细描述根据本发明的具体实施例,该具体实施例涉及客户端A,云分发网络C、区块链网络D,以及源站B,其中云分发网络C包括节点服务器C 1,C 2,...,C n,区块链网络D包括节点服务器D 1,D 2,...,D n。该具体实施例包括下述步骤:
步骤一,源站B将图片P下发到区块链网络D中的节点服务器D 1
步骤二,区块链网络D中的节点服务器D 1将图片P发送到区块链网络D中的其他节点服务器,其他节点服务器在本地存储该图片P。
步骤三,区块链网络D中的节点服务器D 2基于该图片P生成唯一检索标识符U,并生成图片P与唯一检索标识符U的关联关系,将该关联关系发送到区块链网络D中的其他节点服务器。
步骤四,区块链网络D中的节点服务器D 4将图片P与唯一检索标识符U的关联关系发送到源站。
步骤五,源站接收到图片P与唯一检索标识符U的关联关系后,将唯一检索标识符U与图片P的URL(http://www.111.com/a.jpeg)相关联,生成唯一检索标识符U与图片P的URL的关联关系信息,并将该关联关系信息发送给云分发网络C中的节点服务器C 1,C 2,...,C n
步骤六,云分发网络C中的节点服务器C 1从客户端A接收针对一资源的请 求,从该请求中提取出URL为http://www.111.com/a.jpeg,判断本地存储的唯一检索标识符和URL的关联关系信息中存在与http://www.111.com/a.jpeg关联的唯一检索标识符U。
步骤七,云分发网络C中的节点服务器C 1基于地理位置就近接入的原则从区块链网络D中选择距离其最近的节点服务器D 3,将唯一检索标识符发送到区块链网络D中的节点服务器D 3
步骤八,区块链网络D中的节点服务器D 3在本地检索与唯一检索标识符相关联的资源得到图片P,并将图片P发送到云分发网络C中的节点服务器C 1
步骤九,云分发网络C中的节点服务器C 1将图片P在本节点内进行缓存,并将图片P发送到客户端A。
本发明实施例还提供了一种基于区块链网络的资源获取系统,所述系统包括云分发网络节点服务器,所述云分发网络节点服务器被设置为:
从源站接收源站上资源的URL与唯一检索标识符的关联关系信息;
接收来自客户端的针对一资源的请求后,基于所述请求中的URL判断所接收的所述关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
其中,所述系统还包括区块链网络节点服务器,所述区块链网络节点服务器被设置为:
从所述源站接收资源,并将接收的资源发送到所述区块链网络中的全部或部分节点服务器;
生成与所述资源相对应的唯一检索标识符,并将所述唯一检索标识符与所述资源的关联关系发送到所述区块链网络中的全部或部分节点服务器。
其中,所述区块链网络节点服务器还被设置为:
将所述唯一检索标识符与所述资源的关联关系发送到所述源站。
其中,所述系统还包括所述源站,所述源站被设置为:
接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点 服务器。
其中,所述区块链网络节点服务器还被设置为:
接收到所述云分发网络节点服务器发送的唯一检索标识符后,基于所述唯一检索标识符与所述资源的关联关系查询并获取与所述唯一检索标识符相对应的资源,并将所述资源发送到所述云分发网络节点服务器。
其中,所述云分发网络节点服务器还被设置为:
基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
本发明实施例还提供了一种计算机可读存储介质,此存储介质上存储有计算机程序,所述程序被处理器执行时实现上述方法的步骤。
本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行此程序时实现上述方法的步骤。
本发明实施例中的基于区块链网络的资源获取方法和系统,可以实现以下有益效果:
(1)解决现有技术中存在的距离源站较远,回源较慢的问题,实现了客户端对网站访问的加速。由于区块链网络的节点服务器有多个,并且会存在距离收到客户端请求的云分发网络节点服务器较近的区块链网络节点服务器,这样就使得云分发网络节点服务器不用到距离较远的源站去获取资源,而从较近的区块链网络节点服务器获取资源。
(2)解决源站性能瓶颈的问题,避免大量节点服务器同时访问可能造成的源站瘫痪的问题。这是由于区块链网络中的节点服务器较多,各个云分发网络节点服务器选择距离较近的区块链网络节点服务器,而不用回源获取资源。
(3)解决客户端不能通过URL直接向区块链网络获取资源的问题。在区块链网络的前端设置云分发网络,通过云分发网络节点服务器中存储的URL与唯一检索标识符之间的关联关系,查询与该URL关联的唯一检索标识符,这样,就将区块链网络节点服务器不能识别的URL变换为其能识别的唯一检索标识符,以便检索到与该URL相对应的资源,从而能够快速获取相应资源。
(4)区块链网络自身的特性可以确保源站发布于其上的资源不会被恶意篡改。
(5)便于实现,由于源站的内容本来就是公开的,因此与公开的区块链网络结合,不用担心隐私问题。
(6)区块链网络设置于云分发网络与源站之间,通过这种方式对源站进行隔离,既可以正常获取源站的某些资源,也可以实现对源站的保护,即,防止云分发网络的大量节点服务器同时对源站进行请求导致源站压力过大,从而超过其能支撑的处理能力上限。
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质上实施的计算机程序产品的形式。计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质,包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质等。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流 程和/或方框图一个方框或多个方框中指定的功能
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的物品或者设备中还存在另外的相同要素。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明的意图也包含这些改动和变型在内。
工业实用性
本发明的实施例提供了一种基于区块链网络的资源获取方法和系统,其能解决现有技术中存在的距离源站较远,回源较慢的问题,实现了客户端对网站访问的加速;并且能解决源站性能瓶颈的问题,避免大量节点服务器同时访问可能造成的源站瘫痪的问题以及客户端不能通过URL直接向区块链网络获取资源的问题。此外,区块链网络自身的特性可以确保源站发布于其上的资源不会被恶意篡改,且区块链网络设置于云分发网络与源站之间,通过这种方式对源站进行隔离,既可以正常获取源站的某些资源,也可以实现对源站的保护。本发明实施例提供的方法和系统便于实现。

Claims (14)

  1. 一种基于区块链网络的资源获取方法,所述方法包括:
    步骤1,云分发网络节点服务器从源站接收源站上资源的统一资源定位符URL与唯一检索标识符的关联关系信息;
    步骤2,所述云分发网络节点服务器接收来自客户端的针对一资源的请求后,基于所述请求中的URL判断所接收的所述关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
  2. 如权利要求1所述的资源获取方法,其中所述方法还包括在所述步骤1之前执行:
    步骤11,所述区块链网络中的节点服务器从所述源站接收资源,并将接收的资源发送到所述区块链网络中的全部或部分节点服务器;
    所述区块链网络中一节点服务器生成与所述资源相对应的唯一检索标识符,并将所述唯一检索标识符与所述资源的关联关系发送到所述区块链网络中的全部或部分节点服务器。
  3. 如权利要求2所述的资源获取方法,其中所述步骤11还包括:
    所述区块链网络中至少一个节点服务器将所述唯一检索标识符与所述资源的关联关系发送到所述源站。
  4. 如权利要求3所述的资源获取方法,其中所述方法还包括在所述步骤11和所述步骤1之间执行:
    步骤12,所述源站接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点服务器。
  5. 如权利要求1所述的资源获取方法,其中所述方法还包括在所述步骤2后执行:
    所述区块链网络节点服务器接收到所述云分发网络节点服务器发送的唯一检索标识符后,基于所述唯一检索标识符与所述资源的关联关系查询并获取与所述唯一检索标识符相对应的资源,并将所述资源发送到所述云分发网络节点 服务器。
  6. 如权利要求1所述的资源获取方法,其中所述步骤2中将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器包括:
    基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
  7. 一种基于区块链网络的资源获取系统,所述系统包括云分发网络节点服务器,所述云分发网络节点服务器被设置为:
    从源站接收源站上资源的URL与唯一检索标识符的关联关系信息;
    接收来自客户端的针对一资源的请求后,基于所述请求中的URL判断所接收的所述关联关系信息中是否存在与该URL关联的唯一检索标识符,若存在,则将与该URL关联的唯一检索标识符发送到区块链网络中的节点服务器。
  8. 如权利要求7所述的资源获取系统,其中所述系统还包括区块链网络节点服务器,所述区块链网络节点服务器被设置为:
    从所述源站接收资源,并将接收的资源发送到所述区块链网络中的全部或部分节点服务器;
    生成与所述资源相对应的唯一检索标识符,并将所述唯一检索标识符与所述资源的关联关系发送到所述区块链网络中的全部或部分节点服务器。
  9. 如权利要求8所述的资源获取系统,其中所述区块链网络节点服务器还被设置为:
    将所述唯一检索标识符与所述资源的关联关系发送到所述源站。
  10. 如权利要求9所述的资源获取系统,其中所述系统还包括所述源站,所述源站被设置为:
    接收所述唯一检索标识符与所述资源的关联关系,基于所述资源对应的URL,生成所述资源的URL与所述唯一检索标识符的关联关系信息,并将所述资源的URL与所述唯一检索标识符的关联关系信息发送到所述云分发网络节点服务器。
  11. 如权利要求7所述的资源获取系统,其中所述区块链网络节点服务器还被设置为:
    接收到所述云分发网络节点服务器发送的唯一检索标识符后,基于所述唯一检索标识符与所述资源的关联关系查询并获取与所述唯一检索标识符相对应的资源,并将所述资源发送到所述云分发网络节点服务器。
  12. 如权利要求7所述的资源获取系统,其中所述云分发网络节点服务器还被设置为:
    基于地理位置就近接入的原则,选择所述区块链网络中的至少一个节点服务器,并将与该URL关联的唯一检索标识符发送到所选择的区块链网络节点服务器。
  13. 一种计算机可读存储介质,所述存储介质上存储有计算机程序,所述程序被处理器执行时实现权利要求1至6中任意一项所述方法的步骤。
  14. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1至6中任意一项所述方法的步骤。
PCT/CN2019/081892 2018-04-13 2019-04-09 基于区块链网络的资源获取方法和系统及存储介质和计算机设备 WO2019196825A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810331908.9A CN109873855B (zh) 2018-04-13 2018-04-13 一种基于区块链网络的资源获取方法和系统
CN201810331908.9 2018-04-13

Publications (1)

Publication Number Publication Date
WO2019196825A1 true WO2019196825A1 (zh) 2019-10-17

Family

ID=66915425

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081892 WO2019196825A1 (zh) 2018-04-13 2019-04-09 基于区块链网络的资源获取方法和系统及存储介质和计算机设备

Country Status (2)

Country Link
CN (1) CN109873855B (zh)
WO (1) WO2019196825A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770022A (zh) * 2020-06-28 2020-10-13 中国平安财产保险股份有限公司 基于链路监控的扩容方法、系统、设备及计算机存储介质
CN114793244A (zh) * 2022-06-14 2022-07-26 北京百度网讯科技有限公司 一种区块链的资源处理方法、装置、设备和介质
CN114979146A (zh) * 2022-05-25 2022-08-30 中移(杭州)信息技术有限公司 回源方法、cdn设备、存储介质以及设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852655A (zh) * 2020-06-28 2021-12-28 北京金山云网络技术有限公司 信息管理方法、装置及区块链服务系统
CN112732362B (zh) * 2021-01-18 2024-06-11 北京展心展力信息科技有限公司 跨国软件资源访问方法、装置、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610162A (zh) * 2008-06-16 2009-12-23 华为技术有限公司 一种基于对等存储网络提供内容的方法、系统和设备
CN102638483A (zh) * 2011-02-15 2012-08-15 中国移动通信集团公司 一种内容分发节点的确定方法、设备及系统
CN103973747A (zh) * 2013-02-04 2014-08-06 华为技术有限公司 一种获取内容的方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5115746B2 (ja) * 2009-01-28 2013-01-09 Necビッグローブ株式会社 通信システム、サーバ装置、情報処理方法およびプログラム
US8745239B2 (en) * 2010-04-07 2014-06-03 Limelight Networks, Inc. Edge-based resource spin-up for cloud computing
CN104506647B (zh) * 2014-12-31 2017-12-08 北京奇艺世纪科技有限公司 一种数据存储系统及存储和访问方法
CN104967651B (zh) * 2015-03-02 2017-06-27 深圳市腾讯计算机系统有限公司 基于cdn架构的数据推送、存储、下载方法和装置
CN106686033A (zh) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 一种缓存和服务内容的方法、装置和系统
CN105450780B (zh) * 2015-12-31 2019-01-18 深圳市网心科技有限公司 一种cdn系统及其回源方法
US10375154B2 (en) * 2016-07-29 2019-08-06 Microsoft Technology Licensing, Llc Interchangeable retrieval of content

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610162A (zh) * 2008-06-16 2009-12-23 华为技术有限公司 一种基于对等存储网络提供内容的方法、系统和设备
CN102638483A (zh) * 2011-02-15 2012-08-15 中国移动通信集团公司 一种内容分发节点的确定方法、设备及系统
CN103973747A (zh) * 2013-02-04 2014-08-06 华为技术有限公司 一种获取内容的方法和装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770022A (zh) * 2020-06-28 2020-10-13 中国平安财产保险股份有限公司 基于链路监控的扩容方法、系统、设备及计算机存储介质
CN111770022B (zh) * 2020-06-28 2023-04-25 中国平安财产保险股份有限公司 基于链路监控的扩容方法、系统、设备及计算机存储介质
CN114979146A (zh) * 2022-05-25 2022-08-30 中移(杭州)信息技术有限公司 回源方法、cdn设备、存储介质以及设备
CN114979146B (zh) * 2022-05-25 2024-06-11 中移(杭州)信息技术有限公司 回源方法、cdn设备、存储介质以及设备
CN114793244A (zh) * 2022-06-14 2022-07-26 北京百度网讯科技有限公司 一种区块链的资源处理方法、装置、设备和介质
CN114793244B (zh) * 2022-06-14 2022-10-04 北京百度网讯科技有限公司 一种区块链的资源处理方法、装置、设备和介质

Also Published As

Publication number Publication date
CN109873855A (zh) 2019-06-11
CN109873855B (zh) 2022-01-25

Similar Documents

Publication Publication Date Title
WO2019196825A1 (zh) 基于区块链网络的资源获取方法和系统及存储介质和计算机设备
US11194719B2 (en) Cache optimization
US8935482B2 (en) Method, system and server of removing a distributed caching object
US9148332B2 (en) Content delivery network
US9774564B2 (en) File processing method, system and server-clustered system for cloud storage
EP3176994B1 (en) Explicit content deletion commands in a content centric network
KR20130088774A (ko) 분할 콘텐트 전달 시스템 및 방법
CN107925674A (zh) 在内容为中心的网络(ccn)中推送数据的方法和装置
AU2009244352A2 (en) Deletion in data file forwarding framework
JP6485980B2 (ja) ネットワークアドレスの解決
WO2019006775A1 (zh) 一种数据传输方法及其系统
CN108540510B (zh) 一种云主机创建方法、装置及云服务系统
US20230239376A1 (en) Request processing in a content delivery framework
CN107580021A (zh) 一种文件传输的方法和装置
US10705978B2 (en) Asynchronous tracking for high-frequency and high-volume storage
CN110798495B (zh) 用于在集群架构模式下端到端的消息推送的方法和服务器
CN113301173A (zh) 域名更新系统及方法、消息转发方法、服务器
JP2004302564A (ja) ネームサービス提供方法及びその実施装置並びにその処理プログラム
CN113238836A (zh) 一种分布式内容调度方法、调度系统及中心服务器
US20150227534A1 (en) Method for processing data query using information-centric network
US10621148B1 (en) Maintaining multiple object stores in a distributed file system
CN116248632A (zh) 一种文件获取方法、装置、系统及设备、介质和产品
CN114338720A (zh) 一种分布式文件存储及传输方法、系统及存储介质
JP6081322B2 (ja) 転送したコンテンツを保存する通信装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19785779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19785779

Country of ref document: EP

Kind code of ref document: A1