CN109873855A - A kind of resource acquiring method and system based on block chain network - Google Patents
A kind of resource acquiring method and system based on block chain network Download PDFInfo
- Publication number
- CN109873855A CN109873855A CN201810331908.9A CN201810331908A CN109873855A CN 109873855 A CN109873855 A CN 109873855A CN 201810331908 A CN201810331908 A CN 201810331908A CN 109873855 A CN109873855 A CN 109873855A
- Authority
- CN
- China
- Prior art keywords
- resource
- node server
- block chain
- chain network
- url
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 206010033799 Paralysis Diseases 0.000 abstract description 10
- 230000001133 acceleration Effects 0.000 abstract description 3
- 238000003860 storage Methods 0.000 description 12
- 238000007689 inspection Methods 0.000 description 4
- 238000000429 assembly Methods 0.000 description 3
- 230000000712 assembly Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of resource acquiring method and system based on block chain network.This method comprises: step 1, the incidence relation information that cloud distribution network node server is accorded with from the URL and unique searching mark that source station receives resource on source station;Step 2, after cloud distribution network node server receives the request for a resource from client, it is accorded with based on whether there is in the received incidence relation information of URL judgement institute in request with the associated unique searching mark of the URL, if it exists, then the node server being sent in block chain network will be accorded with the associated unique searching mark of the URL.This method and system realize acceleration of the client to website visiting, and avoid the problem that great deal of nodes server while accessing the source station paralysis that may cause.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of resource acquiring method based on block chain network and it is
System.
Background technique
The working principle of current cloud dissemination system is the mode that " nearly client-cache " adds " Hui Yuan ".Wherein " nearly client
Caching " refers to that cloud dissemination system interior joint is distributed in the place from geographical location close to client, to access client
Web site contents cached.And the acquisition to the original contents to be cached, then it is to be realized by " Hui Yuan ", that is, cloud divides
Sending out node replaces client to access source station, obtains corresponding content/resource from source station.Because source station is generally on geographical location
It is distributed less, and farther out with client distance, therefore the cache node of cloud dissemination system distributed more widely can be provided to website
Access the function of accelerating.
But since cloud dissemination system interior joint is closer apart from client, that just illustrates cloud dissemination system interior joint and client
End is the same, with source station distance farther out.So client accesses the slow-footed problem in source station, and cloud dissemination system interior joint is accessing
It is equally existed when source station.In addition, the performance of source station is usually poor (because server resource does not have cloud dissemination system interior joint
It is so much), a large amount of cloud dissemination system interior joint accesses source station simultaneously may cause source station paralysis.
There are many existing methods for returning source problem for solving CDN, but ten thousand become not from core means therein in fact all
It is the access times reduced by every means to source station, such as relatively common " returning source speed limit ", refers to CDN node Hui Yuan's
When, the limitation sent can be requested to the source of returning.The reason is that CDN node is large number of, and source station is generally only limited
Resource externally provides service.Therefore the source transmitting capacity that returns that the service carrier ability of source station will be far smaller than CDN network (such as is asked
Several and two dimensions of request frequency are sought, are all that CDN network is greater than source station).A large amount of Hui Yuan of CDN cause source station can not in order to prevent
Normal service is provided, CDN node can carry out limit to the source of returning, i.e., " return source speed limit ".Request when reaching CDN node whether
Can Hui Yuan, first have to execute the inspection of speed limit threshold value, the request more than threshold value can be suspended to can not Hui Yuan, increase response
Delay.
Therefore, it is necessary to a kind of method and systems for being able to solve the above problem.
Summary of the invention
In order to solve the above problem in the prior art, propose a kind of resource acquiring method based on block chain network and
System.
According to an aspect of the invention, there is provided a kind of resource acquiring method based on block chain network, the method
Include:
Step 1, cloud distribution network node server is accorded with from the URL and unique searching mark that source station receives resource on source station
Incidence relation information;
Step 2, it after the cloud distribution network node server receives the request for a resource from client, is based on
It is marked in the received incidence relation information of URL judgement institute in the request with the presence or absence of with the associated unique retrieval of the URL
Know symbol, and if it exists, then will accord with the node server being sent in block chain network with the associated unique searching mark of the URL.
Wherein, the method also includes executing before the step 1:
Step 11, the node server in the block chain network receives resource from the source station, and by received resource
The all or part of node server being sent in the block chain network;
A node server generates unique searching mark symbol corresponding with the resource in the block chain network, and will
Unique searching mark symbol and the incidence relation of the resource are sent to all or part of node in the block chain network
Server.
Wherein, the step 11 further include:
Unique searching mark is accorded with the pass with the resource by least one node server in the block chain network
Connection relationship is sent to the source station.
Wherein, the method also includes executing between the step 11 and the step 1:
Step 12, the source station receives the incidence relation of unique the searching mark symbol and the resource, is based on the money
The corresponding URL in source, generates the URL of the resource and the incidence relation information of unique searching mark symbol, and by the resource
URL and the incidence relation information of unique searching mark symbol be sent to the cloud distribution network node server.
Wherein, the method also includes executing after the step 2:
The block chain network node server receives unique retrieval that the cloud distribution network node server is sent
After identifier, the incidence relation based on unique searching mark symbol and the resource is inquired and obtained to be marked with unique retrieval
Know and accord with corresponding resource, and sends the cloud distribution network node server for the resource.
Wherein, the node being sent in block chain network will be accorded with the associated unique searching mark of the URL in the step 2
Server includes:
Based on the principle that geographical location is accessed nearby, at least one node server in the block chain network is selected,
And selected block chain network node server will be sent to the associated unique searching mark symbol of the URL.
According to another aspect of the present invention, a kind of resource acquisition system based on block chain network, the system are additionally provided
System includes cloud distribution network node server, and the cloud distribution network node server is used for:
The incidence relation information that the URL and unique searching mark for receiving resource on source station from source station are accorded with;
After receiving the request for a resource from client, based on the received institute, URL judgement institute in the request
It states in incidence relation information and is accorded with the presence or absence of with the associated unique searching mark of the URL, and if it exists, then will be associated with the URL
Unique searching mark accords with the node server being sent in block chain network.
Wherein, the system also includes block chain network node server, the block chain network node server is used for:
Resource is received from the source station, and sends received resource at all or part of section in the block chain network
Point server;
Unique searching mark symbol corresponding with the resource is generated, and unique searching mark is accorded with and the resource
Incidence relation be sent to all or part of node server in the block chain network.
Wherein, the block chain network node server is also used to:
The source station is sent by unique searching mark symbol and the incidence relation of the resource.
Wherein, the system also includes the source station, the source station is used for:
The incidence relation for receiving unique the searching mark symbol and the resource, is based on the corresponding URL of the resource, generates
The incidence relation information of the URL of the resource and unique searching mark symbol, and by the URL of the resource and unique inspection
The incidence relation information of rope identifier is sent to the cloud distribution network node server.
Wherein, the block chain network node server is also used to:
After receiving unique searching mark symbol that the cloud distribution network node server is sent, it is based on unique retrieval
Resource corresponding with the unique searching mark symbol is inquired with the incidence relation of the resource and obtained to identifier, and will be described
Resource is sent to the cloud distribution network node server.
Wherein, the cloud distribution network node server is also used to:
Based on the principle that geographical location is accessed nearby, at least one node server in the block chain network is selected,
And selected block chain network node server will be sent to the associated unique searching mark symbol of the URL.
The resource acquiring method and system based on block chain network in the present invention, may be implemented it is following the utility model has the advantages that
(1) solve it is existing in the prior art apart from source station farther out, Hui Yuan slower problem realizes client to website
The acceleration of access.Since the node server of block chain network has multiple, and there can be the cloud that distance receives client request
The closer block chain network node server of distribution network node server, allows for cloud distribution network node server not in this way
It uses and goes to obtain resource apart from farther away source station, and obtain resource from closer block chain network node server.
(2) it solves the problems, such as source station performance bottleneck, avoid great deal of nodes server while accessing the source station paralysis that may cause
The problem of paralysis.This is because the node server in block chain network is more, each cloud distribution network node server selection away from
From closer block chain network node server, and does not have to go back to source and obtain resource.
(3) solve the problems, such as that client directly cannot obtain resource to block chain network by URL.In block chain network
Cloud distribution network is arranged in front end, by between the URL stored in cloud distribution network node server and unique searching mark symbol
Incidence relation, inquiry is accorded with the associated unique searching mark of the URL, in this way, just cannot know block chain network node server
Other URL is transformed to its unique searching mark symbol that can be identified, to retrieve resource corresponding with the URL, so as to
Quick obtaining respective resources.
(4) characteristic of block chain network itself may insure that the resource of source station publication thereon will not be maliciously tampered.
(5) it is easy to implement, since the content of source station is originally disclosed, in conjunction with disclosed block chain network,
Without worrying privacy concern.
(6) block chain network is set between cloud distribution network and source station, and source station is isolated in this way, both
Certain resources that source station can normally be obtained, also may be implemented the protection to source station, that is, prevent the great deal of nodes of cloud distribution network
Server, which simultaneously makes requests source station, causes source station pressure excessive, to be more than the processing capacity upper limit that it can be supported.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the resource acquiring method according to the present invention based on block chain network;
Fig. 2 is the module map of the resource acquisition system according to the present invention based on block chain network.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.It needs
Illustrate, in the absence of conflict, the features in the embodiments and the embodiments of the present application can mutual any combination.
In order to solve in the prior art, cloud distribution network node server Hui Yuan is slower, also, a large amount of cloud dissemination system
Interior joint accesses the problem of source station may cause source station paralysis, the resource acquiring method of the invention based on block chain network simultaneously
A kind of method that resource is comparatively fast obtained based on block chain network is proposed with system.Wherein, using block chain network the characteristics of,
The resource of source station is stored on each node server of block chain network, to solve the problems, such as source station performance bottleneck;And in block
Cloud distribution network is accessed between chain network and client, it must not be using the URL in client request in block chain network with solution
The problem of middle progress resource retrieval.
In the resource acquiring method and system of the invention based on block chain network, pass through the URL in client request
Inquiry is accorded with the associated unique searching mark of the URL on cloud distribution network node server, if inquiring associated unique inspection
Rope identifier then sends unique searching mark symbol to the node server of block chain network, is taken by block chain network node
Business device retrieves associated resource by unique searching mark symbol and the resource is sent to cloud distribution network node server.By
Have in the node server of block chain network it is multiple, and can exist distance receive client request cloud distribution network node clothes
The business closer block chain network node server of device, allows for cloud distribution network node server in this way and does not use apart from farther away
Source station is gone to obtain resource, and obtains resource from closer block chain network node server.It thus can solve the prior art
Present in apart from source station farther out, Hui Yuan slower problem.In addition, since the node server in block chain network is more, respectively
A cloud distribution network node server selects the block chain network node server being closer, and does not have to go back to source and obtain resource,
This addresses the problem a large amount of cloud dissemination system interior joints to access the problem of source station may cause source station paralysis simultaneously.
The present invention provides a kind of resource acquiring methods based on block chain network, as shown in Figure 1, this method comprises:
Step 101, cloud distribution network node server is accorded with from the URL and unique searching mark that source station receives resource on source station
Incidence relation information;
Step 102, after cloud distribution network node server receives the request for a resource from client, based on asking
It is accorded in the received incidence relation information of URL judgement institute asked with the presence or absence of with the associated unique searching mark of the URL, if depositing
Then the node server being sent in block chain network will be being accorded with the associated unique searching mark of the URL.
It is stored on cloud distribution network node server from the pass that the URL of the received resource in source station and unique searching mark accord with
Connection relationship, when cloud distribution network node server receives the request for being directed to a resource, if can be inquired based on the URL in the request
To associated unique searching mark, indicates that and is stored with the corresponding resource of the URL in the node server of block chain network,
If cannot inquire, shows not storing the corresponding resource of the URL in the node server of block chain network, then need back
Source obtains resource.
Since the cloud distribution network node server that block chain network node server potential range receives request is closer, because
If this cloud distribution network node server can obtain resource from closer block chain network node server, so that it may avoid back
Source obtains the slower problem of resource.Also, it, can also be to avoid great deal of nodes service since block chain network node server is more
Device accesses the problem of source station causes source station to paralyse simultaneously.The URL further, since feature of block chain network, in client request
It cannot be identified by block chain network node server, i.e., cannot be retrieved by URL and be stored in block chain network node server
Respective resources, therefore the front end of block chain network be arranged cloud distribution network, by being deposited in cloud distribution network node server
Incidence relation between the URL of storage and unique searching mark symbol, inquiry is accorded with the associated unique searching mark of the URL, in this way, just
The URL that block chain network node server cannot identify is transformed to its unique searching mark symbol that can be identified, to retrieve
Resource corresponding with the URL, so as to quick obtaining respective resources.
It should be noted that cloud distribution network node server usually first judges after receiving client to the request of resource
It whether is locally being cached with the resource, the client of request is issued if there is then directly returning to the resource.
This method further includes execution step 1011 before step 101: node server in block chain network is from source station
Resource is received, and sends received resource to all or part of node server in block chain network;In block chain network
One node server generates unique searching mark symbol corresponding with resource, and unique searching mark is accorded with and is associated with resource
It is all or part of node server being sent in block chain network.
Since presumable node server is unable to storage resource in block chain network, in this case, can only just incite somebody to action
Resource stores backup on part of nodes server.
The source station paralysis that resource may cause is obtained in order to solve the problems, such as that great deal of nodes server goes back to source, by the money of source station
Source carries out redundant storage on block chain network node server, so that a large amount of cloud distribution network node servers can be from dispersion
Block chain network node server obtain resource, to solve the problems, such as source station performance bottleneck.In addition, block chain network itself
Characteristic may insure that the resource of source station publication thereon will not be maliciously tampered.
In step 1011, after a node server in block chain network receives resource from source station, itself one is utilized
Cause property algorithm, carries out redundant storage on all or part of node server in block chain network for the resource.Here one
Cause property algorithm can realize that details are not described herein according to the prior art.One node server of block chain network can be generated with
The corresponding unique searching mark symbol of each resource, and save the association pass that each resource is accorded with corresponding unique searching mark
System.Here, resource and unique searching mark symbol are one-to-one relationships.The node server of block chain network can be with list
Form storage resource and unique searching mark symbol incidence relation.Generate the block chain network node clothes of unique searching mark symbol
Be engaged in device by above-mentioned incidence relation send block chain network in each node server, so as to each block chain network node server from
When cloud distribution network node server receives unique searching mark symbol, corresponding resource locally can be being retrieved, thus
Accelerate access of the client to resource.
Above-mentioned steps 1011 further include: at least one node server accords with unique searching mark in the block chain network
Source station is sent to the incidence relation of resource.
Here, the block chain network node server for sending incidence relation is not limited to generate the block of unique searching mark symbol
Chain network node server, above-mentioned incidence relation carry out backup on all or part of node server of block chain network and deposit
Storage, therefore the node server for being stored with the incidence relation can send source station for above-mentioned incidence relation.
This method further includes the execution step 1012 between step 1011 and step 101: the source station receives described unique
Searching mark symbol and the incidence relation of the resource, are based on the corresponding URL of the resource, generate the URL of the resource with it is described
The incidence relation information of unique searching mark symbol, and the incidence relation that the URL of the resource and unique searching mark are accorded with
Information is sent to the cloud distribution network node server.
Source station needs for the URL of resource to be associated with corresponding unique searching mark symbol, and sends the incidence relation to
Each node server of cloud distribution network can be with base so that cloud distribution network node server is after receiving the URL in request
Corresponding unique searching mark is inquired with the incidence relation that unique searching mark accords in URL to accord with.Source station just needs to obtain in this way
The incidence relation of unique searching mark symbol and resource accords with the URL of resource and unique searching mark to be based on the incidence relation
It is associated.
This method further includes executing after step 102: block chain network node server receives cloud distribution network node
After unique searching mark symbol that server is sent, inquire and obtained and only with the incidence relation of resource based on unique searching mark symbol
One searching mark accords with corresponding resource, and sends cloud distribution network node server for resource.
The resource that source station issues, therefore these nodes are stored on all or part of node server of block chain network
Server can inquire resource corresponding with the unique searching mark symbol after receiving unique searching mark symbol, and
Cloud distribution network node server is sent by the resource, after comparatively fast can obtaining resource so as to cloud distribution network node server
It is sent to the client of request.
It should be noted that if receiving the block chain network that unique searching mark accords with from cloud distribution network node server
Node server is locally without storage resource corresponding with the unique searching mark symbol, then the block chain network node server is sharp
With the characteristic of block chain network itself, corresponding money is obtained from other block chain network node servers for being stored with above-mentioned resource
Source, and the cloud distribution network node server that the resource is accorded with back to the unique searching mark of transmission.
In step 102 node server being sent in block chain network will be accorded with the associated unique searching mark of the URL
Include: the principle accessed nearby based on geographical location, selects at least one node server in the block chain network, and will
Selected block chain network node server is sent to the associated unique searching mark symbol of the URL.
In the step, select the closer block chain network node server in geographical location be in order to obtain resource faster,
Realize the effect for accelerating access.The mode of the specific selection closer block chain network node server in geographical location can pass through
Method in the prior art realizes that details are not described herein.
It is described below in detail according to a particular embodiment of the invention, which is related to customer end A, cloud distribution network
C, block chain network D and source station B, medium cloud distribution network C include node server C1,C2,…,Cn, block chain network D packet
Include node server D1,D2,…,Dn.The specific embodiment includes the following steps:
Picture P is issued to the node server D in block chain network D by step 1, source station B1。
Step 2, the node server D in block chain network D1Other sections picture P sent in block chain network D
Picture P is being locally stored in point server, other node servers.
Step 3, the node server D in block chain network D2Unique searching mark is generated based on picture P and accords with U, and raw
At the incidence relation of picture P and unique searching mark symbol U, other nodes in block chain network D are sent by the incidence relation
Server.
Step 4, the node server D in block chain network D4By the incidence relation of picture P and unique searching mark symbol U
It is sent to source station.
Unique searching mark is accorded with U after source station receives the incidence relation of picture P and unique searching mark symbol U by step 5
It is associated with the URL (http://www.111.com/a.jpeg) of picture P, generate the URL of unique searching mark symbol U and picture P
Incidence relation information, and the incidence relation information is sent to the node server C in cloud distribution network C1,C2,…,Cn。
Step 6, the node server C in cloud distribution network C1The request for being directed to a resource is received from customer end A, from this
It is http://www.111.com/a.jpeg that URL is extracted in request, judges the unique searching mark being locally stored symbol and URL
Incidence relation information in exist and the associated unique searching mark of http://www.111.com/a.jpeg accords with U.
Step 7, the node server C in cloud distribution network C1The principle accessed nearby based on geographical location is from block chain
Selection is away from nearest node server D in network D3, unique searching mark is accorded with to the node being sent in block chain network D
Server D3。
Step 8, the node server D in block chain network D3It is associated with unique searching mark symbol in locally retrieval
Resource obtains picture P, and sends the node server C in cloud distribution network C for picture P1。
Step 9, the node server C in cloud distribution network C1Picture P is cached in this node, and by picture P
It is sent to customer end A.
The present invention also provides a kind of resource acquisition systems based on block chain network, and the system comprises cloud distribution networks
Node server, the cloud distribution network node server are used for:
The incidence relation information that the URL and unique searching mark for receiving resource on source station from source station are accorded with;
After receiving the request for a resource from client, based on the received institute, URL judgement institute in the request
It states in incidence relation information and is accorded with the presence or absence of with the associated unique searching mark of the URL, and if it exists, then will be associated with the URL
Unique searching mark accords with the node server being sent in block chain network.
Wherein, the system also includes block chain network node server, the block chain network node server is used for:
Resource is received from the source station, and sends received resource at all or part of section in the block chain network
Point server;
Unique searching mark symbol corresponding with the resource is generated, and unique searching mark is accorded with and the resource
Incidence relation be sent to all or part of node server in the block chain network.
Wherein, the block chain network node server is also used to:
The source station is sent by unique searching mark symbol and the incidence relation of the resource.
Wherein, the system also includes the source station, the source station is used for:
The incidence relation for receiving unique the searching mark symbol and the resource, is based on the corresponding URL of the resource, generates
The incidence relation information of the URL of the resource and unique searching mark symbol, and by the URL of the resource and unique inspection
The incidence relation information of rope identifier is sent to the cloud distribution network node server.
Wherein, the block chain network node server is also used to:
After receiving unique searching mark symbol that the cloud distribution network node server is sent, it is based on unique retrieval
Resource corresponding with the unique searching mark symbol is inquired with the incidence relation of the resource and obtained to identifier, and will be described
Resource is sent to the cloud distribution network node server.
Wherein, the cloud distribution network node server is also used to:
Based on the principle that geographical location is accessed nearby, at least one node server in the block chain network is selected,
And selected block chain network node server will be sent to the associated unique searching mark symbol of the URL.
The resource acquiring method and system based on block chain network in the present invention, may be implemented it is following the utility model has the advantages that
(1) solve it is existing in the prior art apart from source station farther out, Hui Yuan slower problem realizes client to website
The acceleration of access.Since the node server of block chain network has multiple, and there can be the cloud that distance receives client request
The closer block chain network node server of distribution network node server, allows for cloud distribution network node server not in this way
It uses and goes to obtain resource apart from farther away source station, and obtain resource from closer block chain network node server.
(2) it solves the problems, such as source station performance bottleneck, avoid great deal of nodes server while accessing the source station paralysis that may cause
The problem of paralysis.This is because the node server in block chain network is more, each cloud distribution network node server selection away from
From closer block chain network node server, and does not have to go back to source and obtain resource.
(3) solve the problems, such as that client directly cannot obtain resource to block chain network by URL.In block chain network
Cloud distribution network is arranged in front end, by between the URL stored in cloud distribution network node server and unique searching mark symbol
Incidence relation, inquiry is accorded with the associated unique searching mark of the URL, in this way, just cannot know block chain network node server
Other URL is transformed to its unique searching mark symbol that can be identified, to retrieve resource corresponding with the URL, so as to
Quick obtaining respective resources.
(4) characteristic of block chain network itself may insure that the resource of source station publication thereon will not be maliciously tampered.
(5) it is easy to implement, since the content of source station is originally disclosed, in conjunction with disclosed block chain network,
Without worrying privacy concern.
(6) block chain network is set between cloud distribution network and source station, and source station is isolated in this way, both
Certain resources that source station can normally be obtained, also may be implemented the protection to source station, that is, prevent the great deal of nodes of cloud distribution network
Server, which simultaneously makes requests source station, causes source station pressure excessive, to be more than the processing capacity upper limit that it can be supported.
Descriptions above can combine implementation individually or in various ways, and these variants all exist
Within protection scope of the present invention.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that including the article of a series of elements or equipment not only includes those elements, but also including not having
There is the other element being expressly recited, or further includes for this article or the intrinsic element of equipment.Do not limiting more
In the case where system, the element that is limited by sentence " including ... ", it is not excluded that in the article or equipment for including the element
There is also other identical elements.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, reference only to preferred embodiment to this hair
It is bright to be described in detail.Those skilled in the art should understand that can modify to technical solution of the present invention
Or equivalent replacement should all cover in claim model of the invention without departing from the spirit and scope of the technical solution of the present invention
In enclosing.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups
Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by
It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable
On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily
Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as
Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non-
Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its
His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other
Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This
Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould
Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information
Delivery media.
Claims (12)
1. a kind of resource acquiring method based on block chain network, which is characterized in that the described method includes:
Step 1, cloud distribution network node server is associated with from the URL that source station receives resource on source station with what unique searching mark accorded with
Relation information;
Step 2, after the cloud distribution network node server receives the request for a resource from client, based on described
It is accorded in the received incidence relation information of URL judgement institute in request with the presence or absence of with the associated unique searching mark of the URL,
If it exists, then the node server being sent in block chain network will be accorded with the associated unique searching mark of the URL.
2. resource acquiring method as described in claim 1, which is characterized in that the method also includes before the step 1
It executes:
Step 11, the node server in the block chain network receives resource from the source station, and received resource is sent
To all or part of node server in the block chain network;
A node server generates unique searching mark symbol corresponding with the resource in the block chain network, and will be described
Unique searching mark symbol and the incidence relation of the resource are sent to all or part of node serve in the block chain network
Device.
3. resource acquiring method as claimed in claim 2, which is characterized in that the step 11 further include:
At least one node server being associated with the unique searching mark symbol and the resource in the block chain network
System is sent to the source station.
4. resource acquiring method as claimed in claim 3, which is characterized in that the method also includes in the step 11 and institute
It states and is executed between step 1:
Step 12, the source station receives the incidence relation of unique the searching mark symbol and the resource, is based on the resource pair
The URL answered, generates the URL of the resource and the incidence relation information of unique searching mark symbol, and by the URL of the resource
The cloud distribution network node server is sent to the incidence relation information of unique searching mark symbol.
5. resource acquiring method as described in claim 1, which is characterized in that the method also includes holding after the step 2
Row:
The block chain network node server receives unique searching mark that the cloud distribution network node server is sent
Fu Hou, the incidence relation based on unique searching mark symbol and the resource is inquired and obtained to be accorded with unique searching mark
Corresponding resource, and the cloud distribution network node server is sent by the resource.
6. resource acquiring method as described in claim 1, which is characterized in that will be associated unique with the URL in the step 2
Searching mark accords with the node server being sent in block chain network
Based on the principle that geographical location is accessed nearby, at least one node server in the block chain network is selected, and will
Selected block chain network node server is sent to the associated unique searching mark symbol of the URL.
7. a kind of resource acquisition system based on block chain network, which is characterized in that the system comprises cloud distribution network nodes
Server, the cloud distribution network node server are used for:
The incidence relation information that the URL and unique searching mark for receiving resource on source station from source station are accorded with;
After receiving the request for a resource from client, based on the received pass of URL judgement institute in the request
Join in relation information and accorded with the presence or absence of with the associated unique searching mark of the URL, and if it exists, then will be associated unique with the URL
Searching mark accords with the node server being sent in block chain network.
8. resource acquisition system as claimed in claim 7, which is characterized in that the system also includes block chain network node clothes
Business device, the block chain network node server are used for:
Resource is received from the source station, and sends the clothes of all or part of node in the block chain network for received resource
Business device;
Unique searching mark symbol corresponding with the resource is generated, and unique searching mark is accorded with to the pass with the resource
Connection relationship is sent to all or part of node server in the block chain network.
9. resource acquisition system as claimed in claim 8, which is characterized in that the block chain network node server is also used
In:
The source station is sent by unique searching mark symbol and the incidence relation of the resource.
10. resource acquisition system as claimed in claim 9, which is characterized in that the system also includes the source station, the source
Station is used for:
The incidence relation for receiving unique the searching mark symbol and the resource, is based on the corresponding URL of the resource, described in generation
The incidence relation information of the URL of resource and unique searching mark symbol, and the URL of the resource and unique retrieval are marked
The incidence relation information for knowing symbol is sent to the cloud distribution network node server.
11. resource acquisition system as claimed in claim 7, which is characterized in that the block chain network node server is also used
In:
After receiving unique searching mark symbol that the cloud distribution network node server is sent, it is based on unique searching mark
Resource corresponding with the unique searching mark symbol is inquired with the incidence relation of the resource and obtained to symbol, and by the resource
It is sent to the cloud distribution network node server.
12. resource acquisition system as claimed in claim 7, which is characterized in that the cloud distribution network node server is also used
In:
Based on the principle that geographical location is accessed nearby, at least one node server in the block chain network is selected, and will
Selected block chain network node server is sent to the associated unique searching mark symbol of the URL.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810331908.9A CN109873855B (en) | 2018-04-13 | 2018-04-13 | Resource acquisition method and system based on block chain network |
PCT/CN2019/081892 WO2019196825A1 (en) | 2018-04-13 | 2019-04-09 | Resource acquisition method and system based on block chain network, storage medium, and computer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810331908.9A CN109873855B (en) | 2018-04-13 | 2018-04-13 | Resource acquisition method and system based on block chain network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109873855A true CN109873855A (en) | 2019-06-11 |
CN109873855B CN109873855B (en) | 2022-01-25 |
Family
ID=66915425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810331908.9A Active CN109873855B (en) | 2018-04-13 | 2018-04-13 | Resource acquisition method and system based on block chain network |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109873855B (en) |
WO (1) | WO2019196825A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113852655A (en) * | 2020-06-28 | 2021-12-28 | 北京金山云网络技术有限公司 | Information management method and device and block chain service system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770022B (en) * | 2020-06-28 | 2023-04-25 | 中国平安财产保险股份有限公司 | Capacity expansion method, system, equipment and computer storage medium based on link monitoring |
CN114979146A (en) * | 2022-05-25 | 2022-08-30 | 中移(杭州)信息技术有限公司 | Source returning method, CDN device, storage medium and device |
CN114793244B (en) * | 2022-06-14 | 2022-10-04 | 北京百度网讯科技有限公司 | Resource processing method, device, equipment and medium for block chain |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301732A (en) * | 2009-01-28 | 2011-12-28 | Nec比葛露 | Communication system, server device, display device, information processing method, and program |
US20120303818A1 (en) * | 2010-04-07 | 2012-11-29 | Limelight Networks, Inc. | Edge-based resource spin-up for cloud computing |
CN104506647A (en) * | 2014-12-31 | 2015-04-08 | 北京奇艺世纪科技有限公司 | Data storage system as well as data storage method and data access method |
CN104967651A (en) * | 2015-03-02 | 2015-10-07 | 深圳市腾讯计算机***有限公司 | Data push, storage and downloading methods and devices based on CDN architecture |
CN105450780A (en) * | 2015-12-31 | 2016-03-30 | 深圳市网心科技有限公司 | CDN system and source tracing method thereof |
CN106686033A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method, device and system for cache and service content |
US20180034901A1 (en) * | 2016-07-29 | 2018-02-01 | Microsoft Technology Licensing, Llc | Interchangeable retrieval of content |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610162A (en) * | 2008-06-16 | 2009-12-23 | 华为技术有限公司 | A kind of method, system and equipment that content is provided based on reciprocity storage networking |
CN102638483B (en) * | 2011-02-15 | 2016-01-27 | ***通信集团公司 | A kind of defining method of content distribution nodes, equipment and system |
CN103973747B (en) * | 2013-02-04 | 2017-11-17 | 华为技术有限公司 | A kind of method and apparatus for obtaining content |
-
2018
- 2018-04-13 CN CN201810331908.9A patent/CN109873855B/en active Active
-
2019
- 2019-04-09 WO PCT/CN2019/081892 patent/WO2019196825A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102301732A (en) * | 2009-01-28 | 2011-12-28 | Nec比葛露 | Communication system, server device, display device, information processing method, and program |
US20120303818A1 (en) * | 2010-04-07 | 2012-11-29 | Limelight Networks, Inc. | Edge-based resource spin-up for cloud computing |
CN104506647A (en) * | 2014-12-31 | 2015-04-08 | 北京奇艺世纪科技有限公司 | Data storage system as well as data storage method and data access method |
CN104967651A (en) * | 2015-03-02 | 2015-10-07 | 深圳市腾讯计算机***有限公司 | Data push, storage and downloading methods and devices based on CDN architecture |
CN106686033A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method, device and system for cache and service content |
CN105450780A (en) * | 2015-12-31 | 2016-03-30 | 深圳市网心科技有限公司 | CDN system and source tracing method thereof |
US20180034901A1 (en) * | 2016-07-29 | 2018-02-01 | Microsoft Technology Licensing, Llc | Interchangeable retrieval of content |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113852655A (en) * | 2020-06-28 | 2021-12-28 | 北京金山云网络技术有限公司 | Information management method and device and block chain service system |
Also Published As
Publication number | Publication date |
---|---|
CN109873855B (en) | 2022-01-25 |
WO2019196825A1 (en) | 2019-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10778801B2 (en) | Content delivery network architecture with edge proxy | |
US11451472B2 (en) | Request routing based on class | |
US11194719B2 (en) | Cache optimization | |
EP3567881B1 (en) | Request routing and updating routing information utilizing client location information | |
US8533293B1 (en) | Client side cache management | |
US10771552B2 (en) | Content management | |
US8065417B1 (en) | Service provider registration by a content broker | |
US20200059530A1 (en) | Handling of content in a content delivery network | |
KR20130088774A (en) | System and method for delivering segmented content | |
CN109873855A (en) | A kind of resource acquiring method and system based on block chain network | |
CN105450780A (en) | CDN system and source tracing method thereof | |
CN107580021A (en) | A kind of method and apparatus of file transmission | |
CN113301079B (en) | Data acquisition method, system, computing device and storage medium | |
EP3228047A1 (en) | Methods and network nodes for monitoring services in a content delivery network | |
CN109547508B (en) | Method, device and system for realizing resource access | |
CN109788075B (en) | Private network system, data acquisition method and edge server | |
CN113873302B (en) | Content distribution method, content distribution device, storage medium and electronic equipment | |
CN103685367A (en) | Offline download system and offline download method | |
CN112968980B (en) | Probability determination method and device, storage medium and server | |
CN116248632A (en) | File acquisition method, device, system and equipment, medium and product | |
CN114338720A (en) | Distributed file storage and transmission method, system and storage medium | |
KR101497325B1 (en) | System and method for processing virtual interview by division contents | |
KR20150010415A (en) | Contents delivery network service method and broker apparatus for distributed caching |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40009798 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |