CN109274762A - CDN method for refreshing and system - Google Patents
CDN method for refreshing and system Download PDFInfo
- Publication number
- CN109274762A CN109274762A CN201811232969.6A CN201811232969A CN109274762A CN 109274762 A CN109274762 A CN 109274762A CN 201811232969 A CN201811232969 A CN 201811232969A CN 109274762 A CN109274762 A CN 109274762A
- Authority
- CN
- China
- Prior art keywords
- equipment
- refresh requests
- refresh
- level
- sent
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Abstract
This application involves a kind of CDN method for refreshing and system, method therein includes: that the central equipment of CDN system receives the refresh requests that user sends, and the equipment for being sent to next level;The equipment of next level receives the refresh requests, and the equipment for being sent to more next level, until the refresh requests are sent to fringe node;The fringe node of CDN system receives the refresh requests, and according to the refresh requests refresh data file;Wherein, the equipment of CDN system is divided into multiple levels in advance.The application can make the equipment of each fringe node in CDN that can quickly receive refresh requests and then execute refresh operation;The problem of refresh requests are transmitted directly to transmission refresh requests failure caused by every other equipment as an edge device is avoided, refreshing effect is improved.
Description
Technical field
This application involves content distributing network (Content Delivery Network, CDN) technical fields, more particularly to
A kind of CDN method for refreshing and system.
Background technique
Content distributing network (CDN), be mainly used for alleviate backbone network it is crowded, accelerate user's access speed.Its principle is benefit
The caching resource of long-range source station is accelerated into user to the access speed of resource to local with CDN fringe node.Refreshing in CDN
System is that fringe node is expired or unused data for brushing off, and accesses fringe node, fringe node again by netizen in this way
The new data content obtained from source station can be cached again, to externally provide new data content service.
In the related technology, updating system is the refreshing edge device group by refreshing central equipment and on cache server
At.Method for refreshing is to refresh central equipment to receive the refresh requests that client submits, these refresh requests are then handed down to brush
New edge device, the cache software for refreshing edge device where edge device operates it brush off the text of data required by refresh requests
Then result is fed back to refreshing central equipment again by part.But there are some defects, refresh requests to send task for this method for refreshing
It concentrates on and refreshes central equipment at this, and refreshing central equipment is not that all there is good network to connect with every other equipment
The general character will lead to refresh central equipment to refreshing side once refreshing central equipment to the unstable networks for refreshing edge device
Edge equipment issues refresh requests failure, to finally partial refresh be caused to fail, reduces refreshing effect.
Summary of the invention
To be overcome the problems, such as present in the relevant technologies at least to a certain extent, the application provides a kind of CDN method for refreshing
And system.
According to the embodiment of the present application in a first aspect, providing a kind of CDN method for refreshing, comprising:
The central equipment of CDN system receives the refresh requests that user sends, and the equipment for being sent to next level;
The equipment of next level receives the refresh requests, and the equipment for being sent to more next level, until the refreshing
Request is sent to fringe node;
The fringe node of CDN system receives the refresh requests, and according to the refresh requests refresh data file;
Wherein, the equipment of CDN system is divided into multiple levels in advance.
It is optionally, described to receive the refresh requests, comprising:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Optionally, the method also includes:
After equipment receives the refresh requests, the equipment feedback of upper layer grade has got the signal of refresh requests;
The equipment of a upper level records the facility information for having got refresh requests after receiving the signal, to send
The facility information.
Optionally, the facility information include got the equipment of refresh requests it is used when obtaining refresh requests when
It is long;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
Optionally, the fringe node includes multiple edge devices;
The fringe node of the CDN system receives the refresh requests, and according to the refresh requests refresh data file,
Include:
Any one edge of table equipment in each fringe node receives the refresh requests, and is sent in fringe node
Remaining edge equipment;
After remaining edge equipment in each described fringe node receives the refresh requests, refreshes the refreshing and ask
Seek corresponding data file.
Optionally, it is described according to the refresh requests refresh data file after, the method also includes:
It generates and refreshes result;
The equipment feedback of layer-by-layer upper layer grade is described to be refreshed as a result, until central equipment receives the refreshing result.
According to the second aspect of the embodiment of the present application, a kind of CDN updating system is provided, comprising:
The equipment of multiple levels;
The equipment of the multiple level successively includes: central equipment, intermediate equipment and fringe node from top to bottom;
The intermediate equipment is at least one level;
The central equipment is used to receive the refresh requests of user's transmission, and is sent in intermediate equipment and belongs to the center
The equipment of next level of equipment;
The refresh requests that the equipment that the intermediate equipment is used to receive a level is sent, and the refresh requests are sent
To the equipment of next level, until refresh requests are sent to fringe node;
What the equipment that the fringe node is used to receive the upper level for belonging to the fringe node in intermediate equipment was sent
Refresh requests, and according to the refresh requests refresh data file.
Optionally, the intermediate equipment and/or fringe node receive refresh requests, specifically include:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Optionally, it after the intermediate equipment and/or fringe node receive refresh requests, is also used to:
The equipment feedback of upper layer grade has got the signal of refresh requests, so that the equipment of a upper level receives institute
The facility information for having got refresh requests is recorded after stating signal, to send the facility information.
Optionally, the facility information include got the equipment of refresh requests it is used when obtaining refresh requests when
It is long;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
According to the third aspect of the embodiment of the present application, a kind of CDN updating system is provided, comprising: processor;At storage
Manage the memory of device executable instruction;Wherein, the processor is configured to:
The central equipment of CDN system receives the refresh requests that user sends, and the equipment for being sent to next level;
The equipment of next level receives the refresh requests, and the equipment for being sent to more next level, until the refreshing
Request is sent to fringe node;
The fringe node of CDN system receives the refresh requests, and according to the refresh requests refresh data file;
Wherein, the equipment of CDN system is divided into multiple levels in advance.
It is optionally, described to receive the refresh requests, comprising:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Optionally, the processor is also configured to
After equipment receives the refresh requests, the equipment feedback of upper layer grade has got the signal of refresh requests;
The equipment of a upper level records the facility information for having got refresh requests after receiving the signal, to send
The facility information.
Optionally, the facility information include got the equipment of refresh requests it is used when obtaining refresh requests when
It is long;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
Optionally, the fringe node includes multiple edge devices;
The fringe node of the CDN system receives the refresh requests, and according to the refresh requests refresh data file,
Include:
Any one edge of table equipment in each fringe node receives the refresh requests, and is sent in fringe node
Remaining edge equipment;
After remaining edge equipment in each described fringe node receives the refresh requests, refreshes the refreshing and ask
Seek corresponding data file.
Optionally, it is described according to the refresh requests refresh data file after, the processor is also configured to
It generates and refreshes result;
The equipment feedback of layer-by-layer upper layer grade is described to be refreshed as a result, until central equipment receives the refreshing result.
According to the fourth aspect of the embodiment of the present application, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is executed by the processor of controller, so that controller side is able to carry out a kind of CDN method for refreshing, packet
It includes:
The central equipment of CDN system receives the refresh requests that user sends, and the equipment for being sent to next level;
The equipment of next level receives the refresh requests, and the equipment for being sent to more next level, until the refreshing
Request is sent to fringe node;
The fringe node of CDN system receives the refresh requests, and according to the refresh requests refresh data file;
Wherein, the equipment of CDN system is divided into multiple levels in advance.
It is optionally, described to receive the refresh requests, comprising:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Optionally, the method also includes:
After equipment receives the refresh requests, the equipment feedback of upper layer grade has got the signal of refresh requests;
The equipment of a upper level records the facility information for having got refresh requests after receiving the signal, to send
The facility information.
Optionally, the facility information include got the equipment of refresh requests it is used when obtaining refresh requests when
It is long;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
Optionally, the fringe node includes multiple edge devices;
The fringe node of the CDN system receives the refresh requests, and according to the refresh requests refresh data file,
Include:
Any one edge of table equipment in each fringe node receives the refresh requests, and is sent in fringe node
Remaining edge equipment;
After remaining edge equipment in each described fringe node receives the refresh requests, refreshes the refreshing and ask
Seek corresponding data file.
Optionally, it is described according to the refresh requests refresh data file after, the method also includes:
It generates and refreshes result;
The equipment feedback of layer-by-layer upper layer grade is described to be refreshed as a result, until central equipment receives the refreshing result.
The technical solution that embodiments herein provides can include the following benefits:
Since the equipment of CDN system is divided into multiple levels in advance, the central equipment of CDN system receives what user sent
Refresh requests, and the equipment for being sent to next level;The equipment of next level receives the refresh requests, and is sent to more next
The equipment of level, until the refresh requests are sent to fringe node;The fringe node of CDN system receives the refresh requests,
And according to the refresh requests refresh data file;Again because having good network connectivty between the equipment of adjacent level,
Therefore, the equipment that refresh requests can quickly be sent to next level, until fringe node.In this way, making each edge section
The equipment of point can quickly receive refresh requests and then execute refresh operation;It avoids refresh requests by an edge device
It is transmitted directly to the problem of sending refresh requests failure caused by every other equipment, improves refreshing effect.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is a kind of flow diagram of CDN method for refreshing shown according to an exemplary embodiment.
Fig. 2 is a kind of flow diagram of the CDN method for refreshing shown according to another exemplary embodiment.
Fig. 3 is a kind of structural schematic diagram of the CDN updating system shown according to another exemplary embodiment.
Fig. 4 is a kind of structural schematic diagram of the CDN updating system shown according to another exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent method and system of some aspects be described in detail in claims, the application.
Fig. 1 is a kind of flow diagram of CDN method for refreshing shown according to an exemplary embodiment.
As shown in Figure 1, method provided in this embodiment the following steps are included:
Step S11, the central equipment of CDN system receives the refresh requests that user sends, and is sent to setting for next level
It is standby;
Step S12, the equipment of next level receive the refresh requests, and the equipment for being sent to more next level, until
The refresh requests are sent to fringe node;
The fringe node of step S13, CDN system receive the refresh requests, and according to the refresh requests refresh data
File;
Wherein, the equipment of CDN system is divided into multiple levels in advance.
For example, selecting an equipment as overlay device, i.e. central equipment, in the equipment of CDN system first for connecing
Receive the refresh requests that user sends;Next level equipment of central equipment is second level discharge device, any one in this layer of equipment
Platform equipment all has good network connectivty with central equipment, also, to can connect to the whole network all for the set of this layer of equipment
Edge node devices.In this way, ensure that refresh requests are quickly sent to second level discharge device, second level discharge device from central equipment
Refresh requests can be sent to all edge node devices of the whole network, after edge node devices receive refresh requests, executed
Refresh operation.It ensure that all fringe nodes of the whole network can get refresh requests;It avoids refresh requests and sends task-set
In in central equipment this point, to ensure that refreshing effect.
In the present embodiment, since the equipment of CDN system is divided into multiple levels in advance, the central equipment of CDN system is connect
Receive the refresh requests that user sends, and the equipment for being sent to next level;The equipment of next level receives the refresh requests, and
The equipment for being sent to more next level, until the refresh requests are sent to fringe node;The fringe node of CDN system receives institute
Refresh requests are stated, and according to the refresh requests refresh data file;Again because having between the equipment of adjacent level good
Network connectivty, therefore, the equipment that refresh requests can quickly be sent to next level, until fringe node.In this way, making every
The equipment of one fringe node can quickly receive refresh requests and then execute refresh operation;It avoids by an edge device
The problem of refresh requests are transmitted directly to transmission refresh requests failure caused by every other equipment, improves refreshing effect.
It is further, described to receive the refresh requests, comprising:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Further, the method also includes:
After equipment receives the refresh requests, the equipment feedback of upper layer grade has got the signal of refresh requests;
The equipment of a upper level records the facility information for having got refresh requests after receiving the signal, to send
The facility information.
Wherein, during infrastructure devices obtain refresh requests from upper layer device, if the infrastructure devices are set
It is standby to have taken the refresh requests to be obtained, then what upper layer device returned to infrastructure devices is to possess the equipment of refresh requests to believe
Breath, infrastructure devices are transferred to this layer of other newest refresh requests of device request.For example, central equipment (i.e. first layer equipment) connects
After receiving refresh requests, the First equipment in the second sublevel sends the request for obtaining refresh requests to central equipment, and center is set
After receiving request, refresh requests are just sent to the equipment, after which receives refresh requests, are fed back to central equipment
The signal of refresh requests is got, central equipment receives the facility information that will record the equipment after the signal of feedback;When
When two layers of second equipment sends the request for obtaining refresh requests to central equipment, central equipment can be fed back to second equipment
The facility information of the First equipment of record, second equipment send to the First equipment of same layer and obtain asking for refresh requests
It asks, the refresh requests got are sent to second equipment by First equipment, after second equipment receives refresh requests,
The signal that refresh requests have been got to central equipment feedback, after central equipment receives signal, will record second equipment
Facility information;When the third platform equipment of the second layer sends the request for obtaining refresh requests to central equipment, central equipment is just
Can be to the facility information of third platform equipment feedback same layer First equipment and second equipment, third platform equipment is according to these equipment
Information selects an equipment from First equipment and second equipment, sends to this equipment of selection and obtains refresh requests
Request, after the equipment of selection receives request, to third platform equipment send refresh requests, third platform equipment, which receives refreshing, asks
The signal of refresh requests is got after asking to central equipment feedback, central equipment records third platform equipment after receiving signal
Facility information;The method that remaining equipment of the second layers such as the 4th equipment of the second layer, the 5th equipment obtains refresh requests
It is such.
Similarly, the equipment of the second layer sends refresh requests, third layer equipment to third layer equipment and sends to the 4th layer of equipment
Refresh requests, until edge device receive refresh requests method it is same as mentioned above.
It is understood that upper one layer of equipment can be directly down in the case where next layer of number of devices is less
One layer of equipment for issuing request feeds back specific refresh requests.
Further, the facility information include got refresh requests equipment it is used when obtaining refresh requests
Duration;
Described selects equipment in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
It is optimal to obtain refresh requests used time shortest equipment performance, the equipment of best performance is selected to send out to same layer other equipment
Refresh requests are sent, refresh requests transmission speed can be improved.
Further, the fringe node includes multiple edge devices;
The fringe node of the CDN system receives the refresh requests, and according to the refresh requests refresh data file,
Include:
Any one edge of table equipment in each fringe node receives the refresh requests, and is sent in fringe node
Remaining edge equipment;
After remaining edge equipment in each described fringe node receives the refresh requests, refreshes the refreshing and ask
Seek corresponding data file.
Wherein, it is set since the second level discharge device of the lower level of central equipment may be coupled to all fringe nodes of the whole network
It is standby, so, an optional equipment three-level discharge device can be formed in each fringe node, in each fringe node
Remaining equipment forms bottom equipment, is the processor of final refresh requests.Three-level discharge device is used in fringe node, to
Other equipment (bottom equipment) in fringe node send refresh requests, and bottom equipment executes phase after receiving refresh requests
The refresh operation answered.
It should be noted that method and above-mentioned central equipment of the three-level discharge device to bottom equipment transmission refresh requests
The method for sending refresh requests to second level discharge device is the same.
Fig. 2 is a kind of flow diagram of the CDN method for refreshing shown according to another exemplary embodiment.
As shown in Fig. 2, method provided in this embodiment may comprise steps of:
Step S11, the central equipment of CDN system receives the refresh requests that user sends, and is sent to setting for next level
It is standby;
Step S12, the equipment of next level receive the refresh requests, and the equipment for being sent to more next level, until
The refresh requests are sent to fringe node;
The fringe node of step S13, CDN system receive the refresh requests, and according to the refresh requests refresh data
File;
Step S14 is generated and is refreshed result;
Step S15, the equipment feedback of layer-by-layer upper layer grade is described to be refreshed as a result, until central equipment receives the brush
New result.
Wherein, the equipment of CDN system is divided into multiple levels in advance.
Specifically, the report for refreshing result then successively periodically carries out from the bottom up in step S15.One layer
Equipment can by its adjacent next layer and from feeding back the upper one layer of report of the refreshings result come up to it close to next layer, up to
The central equipment of top.For example, generating after the equipment of the bottom refreshes corresponding data file according to refresh requests and refreshing knot
Then fruit will refresh result and feed back to three-level discharge device, three-level discharge device receives to refresh after result to be distributed to second level again
Equipment feedback refreshes as a result, second level discharge device receives after refreshing result, to central equipment feedback refreshing as a result, central equipment
It receives and refreshes result;Central equipment with regard to dynamic sees the processing progress refreshed in the whole network in this way.
In the present embodiment, not only makes the equipment of each fringe node that can quickly receive refresh requests and then execute
Refresh operation;It avoids and is transmitted directly to send to refresh caused by every other equipment to ask by refresh requests as an edge device
The problem of asking unsuccessfully, refreshing effect is improved.Further, central equipment can also be made dynamically to see refreshing in the whole network
Processing progress.
Fig. 3 is a kind of structural schematic diagram of the CDN updating system shown according to another exemplary embodiment.
As shown in figure 3, system provided in this embodiment includes:
The equipment of multiple levels;
The equipment of the multiple level successively includes: central equipment 31, intermediate equipment 32 and fringe node 33 from top to bottom;
The intermediate equipment is at least one level;
The central equipment is used to receive the refresh requests of user's transmission, and is sent in intermediate equipment and belongs to the center
The equipment of next level of equipment;
The refresh requests that the equipment that the intermediate equipment is used to receive a level is sent, and the refresh requests are sent
To the equipment of next level, until refresh requests are sent to fringe node;
What the equipment that the fringe node is used to receive the upper level for belonging to the fringe node in intermediate equipment was sent
Refresh requests, and according to the refresh requests refresh data file.
Further, the intermediate equipment and/or fringe node receive refresh requests, specifically include:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects in the equipment of same level according to the facility information
Equipment, receives refresh requests from the equipment of selection, and equipment corresponding to the facility information is with level equipment and to have connect
Receive refresh requests transmitted by the equipment of a level.
Further, it after the intermediate equipment and/or fringe node receive refresh requests, is also used to:
The equipment feedback of upper layer grade has got the signal of refresh requests, so that the equipment of a upper level receives institute
The facility information for having got refresh requests is recorded after stating signal, to send the facility information.
Further, the facility information include got refresh requests equipment it is used when obtaining refresh requests
Duration;
It is described that equipment is selected in the equipment of same level according to the facility information, it specifically includes:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
In order to better understand the application, it is described in detail referring to the course of work of the Fig. 4 to the system.
Referring to fig. 4, the present embodiment is illustrated so that intermediate equipment is a level as an example.
Specifically, entire CDN updating system is divided into four levels, top is central equipment 31, the centre of the second level
Equipment 32 is made of the first equipment 321, the second equipment 322 and third equipment 323, third level be from first edge node 331,
Any selection one in each fringe node of 333 these three fringe nodes of second edge node 332 and third fringe node
Platform equipment composition is herein the first edge equipment 3311 in first edge node 331, second in second edge node 332
Third edge device 3331 in edge device 3321 and third fringe node 333 forms third level;4th level is by each
The remaining edge equipment of a fringe node forms, and is herein the 4th edge device 3312, the 5th edge device 3313, the 6th edge
Equipment 3322, the 7th edge device 3323, the 8th edge device 3332 and the 9th edge device 3333 form setting for the 4th level
It is standby.
The process that refresh requests are sent to the second level equipment (intermediate equipment) from central equipment is as follows:
The first step, central equipment 31 receive the refresh requests that user sends;
First equipment 321 of second step, the second layer obtains refresh requests to central equipment;
Third step, central equipment feed back refresh requests to the first equipment;
After the first equipment receives refresh requests, the signal of refresh requests has been got to central equipment feedback for 4th step;
5th step, after central equipment receives signal, in the facility information of the first equipment of internal record 321;
Second equipment 322 of the 6th step, the second layer obtains refresh requests to central equipment;
7th step refreshes the facility information that center has got the equipment of refresh requests to the second equipment feedback, equipment letter
It include the facility information of the first equipment 321 in breath;
8th step, the equipment that the second equipment selects a best performance from the corresponding equipment of facility information, such as first
Then equipment 321 sends the request for obtaining refresh requests to the first equipment 321;
9th step, the first equipment 321 feed back refresh requests to the second equipment 322;
After the second equipment gets refresh requests, the signal for having got refresh requests is sent to central equipment for tenth step;
11st step, after central equipment receives signal, in the facility information of the second equipment of internal record.
The method that the third equipment 323 of the second layer obtains refresh requests is same as above.
Second level equipment sends the side of refresh requests to third level equipment, third level equipment to the 4th level equipment
Method is as the above method.
If the equipment of the whole network is less, a upper level (is set to the process that next level sends refresh requests with center as follows
For the standby transmission refresh requests to the second level equipment):
The first step, central equipment 31 receive the refresh requests that user sends;
First equipment 321 of second step, the second level obtains refresh requests to central equipment;
Third step, central equipment feed back refresh requests to the first equipment;
Second equipment 322 of the 4th step, the second level obtains refresh requests to central equipment;
5th step, central equipment feed back refresh requests to the second equipment.
Similarly, the second level equipment sends refresh requests and third level equipment to the 4th layer to third level equipment
The method that grade equipment sends refresh requests is also such.
It should be noted that the part not elaborated in the present embodiment can be found in the embodiment in relation to this method
Description, details are not described herein again.
In the present embodiment, since the equipment of CDN system is divided into multiple levels in advance, the central equipment of CDN system is connect
Receive the refresh requests that user sends, and the equipment for being sent to next level;The equipment of next level receives the refresh requests, and
The equipment for being sent to more next level, until the refresh requests are sent to fringe node;The fringe node of CDN system receives institute
Refresh requests are stated, and according to the refresh requests refresh data file;Again because having between the equipment of adjacent level good
Network connectivty, therefore, the equipment that refresh requests can quickly be sent to next level, until fringe node.In this way, making every
The equipment of one fringe node can quickly receive refresh requests and then execute refresh operation;It avoids by an edge device
The problem of refresh requests are transmitted directly to transmission refresh requests failure caused by every other equipment, improves refreshing effect.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in other embodiments
In be described in detail, no detailed explanation will be given here.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to resource signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of CDN method for refreshing characterized by comprising
The central equipment of CDN system receives the refresh requests that user sends, and the equipment for being sent to next level;
The equipment of next level receives the refresh requests, and the equipment for being sent to more next level, until the refresh requests
It is sent to fringe node;
The fringe node of CDN system receives the refresh requests, and according to the refresh requests refresh data file;
Wherein, the equipment of CDN system is divided into multiple levels in advance.
2. the method according to claim 1, wherein described receive the refresh requests, comprising:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects to set in the equipment of same level according to the facility information
It is standby, refresh requests are received from the equipment of selection, equipment corresponding to the facility information is with level equipment and received
Refresh requests transmitted by equipment to a upper level.
3. according to the method described in claim 2, it is characterized by further comprising:
After equipment receives the refresh requests, the equipment feedback of upper layer grade has got the signal of refresh requests;
The equipment of a upper level records the facility information for having got refresh requests after receiving the signal, described to send
Facility information.
4. according to the method described in claim 3, it is characterized in that, the facility information includes having got setting for refresh requests
The standby duration used when obtaining refresh requests;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
5. the method according to claim 1, wherein the fringe node includes multiple edge devices;
The fringe node of the CDN system receives the refresh requests, and according to the refresh requests refresh data file, packet
It includes:
Any one edge of table equipment in each fringe node receives the refresh requests, and be sent in fringe node its
Remaining edge device;
After remaining edge equipment in each described fringe node receives the refresh requests, refresh the refresh requests pair
The data file answered.
6. the method according to claim 1, wherein it is described according to the refresh requests refresh data file it
Afterwards, the method also includes:
It generates and refreshes result;
The equipment feedback of layer-by-layer upper layer grade is described to be refreshed as a result, until central equipment receives the refreshing result.
7. a kind of CDN updating system characterized by comprising
The equipment of multiple levels;
The equipment of the multiple level successively includes: central equipment, intermediate equipment and fringe node from top to bottom;
The intermediate equipment is at least one level;
The central equipment is used to receive the refresh requests of user's transmission, and is sent in intermediate equipment and belongs to the central equipment
Next level equipment;
The refresh requests that the equipment that the intermediate equipment is used to receive a level is sent, and the refresh requests are sent to down
The equipment of one level, until refresh requests are sent to fringe node;
The refreshing that the equipment that the fringe node is used to receive the upper level for belonging to the fringe node in intermediate equipment is sent
Request, and according to the refresh requests refresh data file.
8. system according to claim 7, which is characterized in that the intermediate equipment and/or fringe node are received to refresh and be asked
It asks, specifically includes:
The refresh requests that the equipment for directly receiving a upper level is sent;Alternatively,
The facility information that the equipment for receiving a upper level is sent, selects to set in the equipment of same level according to the facility information
It is standby, refresh requests are received from the equipment of selection, equipment corresponding to the facility information is with level equipment and received
Refresh requests transmitted by equipment to a upper level.
9. system according to claim 8, which is characterized in that the intermediate equipment and/or fringe node are received to refresh and be asked
After asking, it is also used to:
The equipment feedback of upper layer grade has got the signal of refresh requests, so that the equipment of a upper level receives the letter
The facility information for having got refresh requests is recorded after number, to send the facility information.
10. system according to claim 8, which is characterized in that the facility information includes having got refresh requests
The equipment duration used when obtaining refresh requests;
It is described that equipment is selected in the equipment of same level according to the facility information, comprising:
Compare the size of the duration;
Selection obtains the smallest equipment of duration used when refresh requests.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811232969.6A CN109274762B (en) | 2018-10-22 | 2018-10-22 | CDN refreshing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811232969.6A CN109274762B (en) | 2018-10-22 | 2018-10-22 | CDN refreshing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109274762A true CN109274762A (en) | 2019-01-25 |
CN109274762B CN109274762B (en) | 2021-10-29 |
Family
ID=65194726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811232969.6A Active CN109274762B (en) | 2018-10-22 | 2018-10-22 | CDN refreshing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109274762B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464624A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Content refreshing method and device for CDN (content delivery network) and electronic equipment |
CN114024984A (en) * | 2021-09-27 | 2022-02-08 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1575575A (en) * | 2001-09-26 | 2005-02-02 | 艾利森电话股份有限公司 | Hierarchical caching in telecommunication networks |
CN102055799A (en) * | 2010-12-09 | 2011-05-11 | 北京云快线软件服务有限公司 | Content refreshing system |
CN102137006A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Data transmission method and equipment in CDN (Content Delivery Network) |
US20120173541A1 (en) * | 2010-12-30 | 2012-07-05 | Venkateshwaran Venkataramani | Distributed Cache for Graph Data |
US8412823B1 (en) * | 2009-03-27 | 2013-04-02 | Amazon Technologies, Inc. | Managing tracking information entries in resource cache components |
CN104301741A (en) * | 2014-09-26 | 2015-01-21 | 北京奇艺世纪科技有限公司 | Data live broadcast system and method |
CN104348888A (en) * | 2013-08-09 | 2015-02-11 | 中国电信股份有限公司 | Content routing delivery method, content delivery network node and system |
CN105868234A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Update method and device of caching data |
CN106790617A (en) * | 2016-12-30 | 2017-05-31 | 北京邮电大学 | Collaborative content cache control system and method |
CN108416016A (en) * | 2018-03-05 | 2018-08-17 | 北京云端智度科技有限公司 | A kind of CDN is by prefix caching sweep-out method and system |
CN108540505A (en) * | 2017-03-01 | 2018-09-14 | 贵州白山云科技有限公司 | A kind of content updating method and device |
CN108632388A (en) * | 2018-05-15 | 2018-10-09 | 聚好看科技股份有限公司 | A kind of loading method and device of paged content |
-
2018
- 2018-10-22 CN CN201811232969.6A patent/CN109274762B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1575575A (en) * | 2001-09-26 | 2005-02-02 | 艾利森电话股份有限公司 | Hierarchical caching in telecommunication networks |
US8412823B1 (en) * | 2009-03-27 | 2013-04-02 | Amazon Technologies, Inc. | Managing tracking information entries in resource cache components |
CN102055799A (en) * | 2010-12-09 | 2011-05-11 | 北京云快线软件服务有限公司 | Content refreshing system |
US20120173541A1 (en) * | 2010-12-30 | 2012-07-05 | Venkateshwaran Venkataramani | Distributed Cache for Graph Data |
CN102137006A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Data transmission method and equipment in CDN (Content Delivery Network) |
CN104348888A (en) * | 2013-08-09 | 2015-02-11 | 中国电信股份有限公司 | Content routing delivery method, content delivery network node and system |
CN104301741A (en) * | 2014-09-26 | 2015-01-21 | 北京奇艺世纪科技有限公司 | Data live broadcast system and method |
CN105868234A (en) * | 2015-12-07 | 2016-08-17 | 乐视云计算有限公司 | Update method and device of caching data |
CN106790617A (en) * | 2016-12-30 | 2017-05-31 | 北京邮电大学 | Collaborative content cache control system and method |
CN108540505A (en) * | 2017-03-01 | 2018-09-14 | 贵州白山云科技有限公司 | A kind of content updating method and device |
CN108416016A (en) * | 2018-03-05 | 2018-08-17 | 北京云端智度科技有限公司 | A kind of CDN is by prefix caching sweep-out method and system |
CN108632388A (en) * | 2018-05-15 | 2018-10-09 | 聚好看科技股份有限公司 | A kind of loading method and device of paged content |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464624A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Content refreshing method and device for CDN (content delivery network) and electronic equipment |
CN114024984A (en) * | 2021-09-27 | 2022-02-08 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
CN114024984B (en) * | 2021-09-27 | 2024-01-05 | 阿里巴巴(中国)有限公司 | Resource refreshing method, device and equipment for Content Delivery Network (CDN) |
Also Published As
Publication number | Publication date |
---|---|
CN109274762B (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200204633A1 (en) | Smb2 scaleout | |
US11196829B2 (en) | Method and apparatus for pushing target information | |
CN101150421B (en) | A distributed content distribution method, edge server and content distribution network | |
Brewster et al. | What works in readmissions reduction: how hospitals improve performance | |
CN105122772B (en) | A kind of method and apparatus by head swap server state and client-side information | |
US8271987B1 (en) | Providing access to tasks that are available to be performed | |
CN104243598B (en) | A kind of information recommendation method and device | |
CN106993054A (en) | Document distribution method, node and system | |
GB2414136A (en) | Tolerating failure of a Traffic management system. | |
CN101741907A (en) | Method and system for balancing server load and main server | |
CN105897850A (en) | Response processing method and system and scheduling proxy server for CDN platform | |
WO2006137698A1 (en) | Method and system for managing log information of user using location servers belonging to pluality of groups | |
CN106341438A (en) | Request processing method and device | |
CN109274762A (en) | CDN method for refreshing and system | |
CN105556472B (en) | It manages and the client of multiple computing systems is accessed | |
US8065366B2 (en) | System and method for transmitting personal networking-based blog post, and server applied to the same | |
CN109376172A (en) | Data capture method and system based on block chain | |
CN109150936A (en) | The sharing method and device of session object Session in a kind of distributed type assemblies | |
CN107277092A (en) | Content distributing network and its data download method | |
CN101883105A (en) | Calling method, system and equipment based on cascaded conference | |
CN107451853A (en) | Method, apparatus, system and the storage medium that a kind of red packet distributes in real time | |
US20090106434A1 (en) | Community network | |
CN108270750A (en) | CDN switching methods, client and server | |
CN107734017A (en) | Data service method and system | |
CN108404405A (en) | Data processing method, device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |